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.
commit2765c6ba3b7c7bf3b2cbb42516ebc2798cd36722
authorMartin Nordholts <enselic@gmail.com>
dateMon 28 Dec 2020, 11:13 (6 years ago)
parent28f3f3c
.github/workflows/CICD.yml+1−1
@@ -27,7 +27,7 @@ jobs:
2727 uses: actions-rs/cargo@v1
2828 with:
2929 command: clippy
30− args: --all-targets --all-features -- --deny warnings --allow clippy::new-without-default --allow clippy::match-bool --allow clippy::if_same_then_else
30+ args: --all-targets --all-features
3131 - name: Test
3232 uses: actions-rs/cargo@v1
3333 with: