diff options
author | Martin Nordholts <enselic@gmail.com> | 2021-01-10 16:15:03 +0100 |
---|---|---|
committer | David Peter <sharkdp@users.noreply.github.com> | 2021-01-10 20:38:16 +0100 |
commit | c5c683f67cecdfa6cc9f991594966810a3cf1e29 (patch) | |
tree | 0ff2c66dd5ee48d44b1c9b5444be8b3548dd8247 /.github | |
parent | 149a0177cd6804a9261a9e86794e64df742aca48 (diff) |
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.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/CICD.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index 176d6970..aeca8d65 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -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: |