run clippy on MSRV

+ tweak to get CI to run again
This commit is contained in:
teoxoy
2023-03-15 19:02:00 +01:00
committed by Teodor Tanasoaia
parent 6b0c2a532a
commit 6fcd04ec06

View File

@@ -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