From 6fcd04ec0644ab01475b59717fd0f2c5e7cafa95 Mon Sep 17 00:00:00 2001 From: teoxoy <28601907+teoxoy@users.noreply.github.com> Date: Wed, 15 Mar 2023 19:02:00 +0100 Subject: [PATCH] run clippy on MSRV + tweak to get CI to run again --- .github/workflows/ci.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cdc19f3b29..ce951216b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v3 - name: Install MSRV toolchain - run: rustup toolchain install $MSRV --no-self-update --profile=minimal + run: rustup toolchain install $MSRV --no-self-update --profile=minimal --component clippy - name: Install nightly toolchain run: rustup toolchain install nightly --no-self-update --profile=minimal @@ -29,7 +29,7 @@ jobs: - run: cargo +nightly hack generate-lockfile --remove-dev-deps -Z minimal-versions --offline - name: Test all features - run: cargo +$MSRV check --all-features --workspace + run: cargo +$MSRV clippy --all-features --workspace -- -D warnings test: name: Test @@ -75,16 +75,6 @@ jobs: cd fuzz cargo check - clippy: - name: Clippy - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - run: rustup component add clippy - - - run: cargo clippy --all-features --workspace -- -D warnings - documentation: name: Documentation runs-on: ubuntu-latest