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.
pull/1508/head
Martin Nordholts 4 years ago committed by David Peter
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…
Cancel
Save