Skip to content

Commit cfa0005

Browse files
committed
.github: cargo clippy with --deny warnings option
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.
1 parent c6ae8a0 commit cfa0005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ jobs:
3838
uses: actions-rs/cargo@v1
3939
with:
4040
command: clippy
41-
args: --workspace
41+
args: --workspace -- --deny warnings

0 commit comments

Comments
 (0)