Skip to content

Commit

Permalink
Updating Clippy workflow to treat warnings as errors
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanMcCormickJr committed Dec 12, 2024
1 parent 69b48a1 commit 9811623
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/rust-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,9 @@ jobs:

- name: Run rust-clippy
run:
cargo clippy
--all-features
cargo clippy --all-features -- -D warnings
--message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt
continue-on-error: true
#continue-on-error: true

- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v3
Expand Down

0 comments on commit 9811623

Please sign in to comment.