Add JS injection detection (#43) #405
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linting check | |
on: | |
workflow_call: {} | |
push: {} | |
jobs: | |
rustfmt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
override-file: Cargo.toml | |
- name: Install rustfmt | |
run: rustup component add rustfmt | |
- name: Run rustfmt | |
run: cargo fmt -- --check |