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