Skip to content

Commit

Permalink
Update check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Araxeus committed May 9, 2022
1 parent efeb629 commit acef028
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,21 @@ jobs:
run: cargo check

- name: Rustfmt check
run: cargo fmt --all --check
run: cargo fmt --all --check -v

- name: Clippy check
run: cargo clippy
--all-targets
--all-features
--message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt
--message-format=json
-- -W clippy::pedantic -W clippy::cargo -W clippy::nursery | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt
continue-on-error: true

- name: Create Clippy output job
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-targets --all-features
args: --all-targets --all-features -- -W clippy::pedantic -W clippy::cargo -W clippy::nursery
name: Clippy Result
continue-on-error: true

Expand Down

0 comments on commit acef028

Please sign in to comment.