mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-22 07:43:39 +01:00
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.
This commit is contained in:
parent
28f3f3c9c9
commit
2765c6ba3b
2
.github/workflows/CICD.yml
vendored
2
.github/workflows/CICD.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user