From c46a1743098a89ef2311d57cf1c62033d11bd745 Mon Sep 17 00:00:00 2001 From: Didier Wenzek Date: Mon, 27 Feb 2023 09:44:45 +0100 Subject: [PATCH] Fix clippy warning almost_swapped Due to https://github.com/clap-rs/clap/issues/4733 one has to revert back to clippy 1.64 Signed-off-by: Didier Wenzek --- .github/workflows/pull-request-checks.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request-checks.yml b/.github/workflows/pull-request-checks.yml index 91a95404d36..e3218eddbfb 100644 --- a/.github/workflows/pull-request-checks.yml +++ b/.github/workflows/pull-request-checks.yml @@ -205,7 +205,7 @@ jobs: uses: actions/checkout@v3 - name: enable toolchain via github action - uses: dtolnay/rust-toolchain@nightly + uses: dtolnay/rust-toolchain@1.64.0 with: components: rustfmt, clippy @@ -224,8 +224,9 @@ jobs: uses: actions-rs/cargo@v1 # https://github.com/marketplace/actions/rust-cargo with: + toolchain: 1.64.0 command: clippy - args: --all-features -- -Aclippy::result-large-err + args: --all-features cargo-audit: name: Run cargo audit