mirror of
https://github.com/sharkdp/bat
synced 2024-11-15 00:27:10 +00:00
Allow clippy::style lints
Turns out GitHub is clever enough to pick up clippy warnings from us just running it, and showing them in PRs under a "Unchanged files with check annotations (beta)" header. The only warnings currently shown are style warnings, and we agreed we don't want to risk putting off contributors over style issues. So explicitly allow (don't warn in the logs for) this category of clippy lints. This means that the only clippy categories left that prints warnings (Warn) are: clippy::complexity clippy::perf And the only category of lints that fails the CI build (Deny) remains to be: clippy::correctness See https://rust-lang.github.io/rust-clippy/master/index.html for a catalog of all lints.
This commit is contained in:
parent
6d0e7650c3
commit
c0d945c0ac
1 changed files with 1 additions and 1 deletions
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
|
||||
args: --all-targets --all-features -- --allow clippy::style
|
||||
- name: Test
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue