mirror of https://github.com/sharkdp/bat.git
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
|
@ -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 New Issue