From 2765c6ba3b7c7bf3b2cbb42516ebc2798cd36722 Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Mon, 28 Dec 2020 11:13:07 +0100 Subject: [PATCH] clippy: Only enforce 'correctness' lints, just print the rest Only the 'correctness' category of lints are 'deny' by default. This is the only clippy lints we want to enforce for now. The other ones we just want to print in the logs. So remove any --deny and --allow arguments. See discussion in #1410. --- .github/workflows/CICD.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index 52f01c0b..7a141412 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -27,7 +27,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: clippy - args: --all-targets --all-features -- --deny warnings --allow clippy::new-without-default --allow clippy::match-bool --allow clippy::if_same_then_else + args: --all-targets --all-features - name: Test uses: actions-rs/cargo@v1 with: