Skip to content

Commit

Permalink
Make rust-clippy fix paths
Browse files Browse the repository at this point in the history
Also have it ignore unneeded returns, as I like having them be explicit
  • Loading branch information
LivInTheLookingGlass committed Jul 7, 2024
1 parent 9205a06 commit 867a8de
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/rust-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@ jobs:
run:
cd rust && cargo clippy
--all-features
--message-format=json | clippy-sarif | tee ../rust-clippy-results.sarif | sarif-fmt
--message-format=json --
-A clippy::needless_return |
sed 's#src/#rust/src/#' |
clippy-sarif|
tee ../rust-clippy-results.sarif |
sarif-fmt

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

0 comments on commit 867a8de

Please sign in to comment.