From c5c683f67cecdfa6cc9f991594966810a3cf1e29 Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Sun, 10 Jan 2021 16:15:03 +0100 Subject: [PATCH] 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. --- .github/workflows/CICD.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: