Skip to content

Commit

Permalink
.github: cargo clippy with --deny warnings option
Browse files Browse the repository at this point in the history
To make the CI correctly work when running cargo clippy, an additional
option `-- --deny warnings` is needed. Without that, cargo clippy would
always succeed, so CI is not able to check its result.
  • Loading branch information
dongsupark committed Feb 2, 2024
1 parent c6ae8a0 commit cfa0005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: clippy
args: --workspace
args: --workspace -- --deny warnings

0 comments on commit cfa0005

Please sign in to comment.