Skip to content

Commit

Permalink
Fix clippy warning almost_swapped
Browse files Browse the repository at this point in the history
Due to clap-rs/clap#4733
one has to revert back to clippy 1.64

Signed-off-by: Didier Wenzek <[email protected]>
  • Loading branch information
didier-wenzek committed Feb 27, 2023
1 parent d8bd3b3 commit c46a174
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pull-request-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit c46a174

Please sign in to comment.