mirror of
https://github.com/sharkdp/bat
synced 2024-11-23 12:23:19 +00:00
Explicitly allow clippy::match_bool until we bump MSRV
Since we run clippy on Rust 1.42.0 we still get warnings about the presence of clippy::match_bool lints. That lint has been moved from 'Style' to 'Pedantic' in Rust 1.45.0 and onwards however, so let's silent it in our clippy runs too.
This commit is contained in:
parent
149a0177cd
commit
c5c683f67c
1 changed files with 3 additions and 1 deletions
4
.github/workflows/CICD.yml
vendored
4
.github/workflows/CICD.yml
vendored
|
@ -23,7 +23,9 @@ jobs:
|
|||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: clippy
|
||||
args: --all-targets --all-features
|
||||
# clippy::match_bool is allowed by default from Rust 1.45.0, see
|
||||
# https://github.com/rust-lang/rust-clippy/commit/e1d13c34b0beaea9a5fbf13687672ef85e779d9f
|
||||
args: --all-targets --all-features -- --allow clippy::match_bool
|
||||
- name: Test
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue