From a0f3f641dfd19920a82737b2daae2ed853f9757e Mon Sep 17 00:00:00 2001 From: Freja Roberts Date: Thu, 16 May 2024 14:43:04 +0200 Subject: [PATCH] Fix overly strict clippy lint (#172) Deny style, suspicious and complexity categories, rather than all warnings If we find issues that could have been caught by a clippy lint we can add that lint on as *deny* too, as for now, they still appear as warnings but won't prevent CI from running. This most notably fixes random CI breakages when clippy/rust updates and introduces new warn level lints --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9719f86..c2f107b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -135,8 +135,7 @@ jobs: - uses: actions-rs/cargo@v1 with: command: clippy - args: --all-targets --all-features -- -D warnings - + args: --all-targets --all-features -- -D clippy::style -D clippy::suspiscious -D clippy::complexity miri: name: Miri runs-on: ubuntu-latest