ci: only deny warnings, not all clippy lints

Change configuration of native CI to only deny warnings from the
compiler, but no all clippy lints.

Previously we ran "cargo clippy --all-targets --workspace -- --deny
clippy::all", which overrides the allows for specific clippy lints in
the source code. We don't want that.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
Lars Wirzenius 2024-11-11 12:34:00 +02:00 committed by cloudhead
parent a1cd0e2fdc
commit dfe89fb303
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ shell: |
rustc --version
cargo fmt --check
cargo clippy --all-targets --workspace -- --deny clippy::all
cargo clippy --all-targets --workspace -- --deny warnings
cargo build --all-targets --workspace
cargo doc --workspace
cargo test --workspace --no-fail-fast