From dfe89fb3030a0e9be9c538c4ff25281c2a4fda70 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 11 Nov 2024 12:34:00 +0200 Subject: [PATCH] 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 --- .radicle/native.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.radicle/native.yaml b/.radicle/native.yaml index 5c79e395..d6a79abe 100644 --- a/.radicle/native.yaml +++ b/.radicle/native.yaml @@ -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