Skip to content

Commit

Permalink
Only enforce clippy on stable
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcefrog committed Nov 22, 2024
1 parent ba4b99b commit 1bf7708
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ jobs:
run: |
cargo --version
rustc --version
# TODO: Maybe also check clippy and rustfmt here.
- name: Build
run: cargo build --all-targets
- uses: taiki-e/install-action@v2
Expand Down Expand Up @@ -112,6 +111,9 @@ jobs:
- name: Check rustfmt
run: cargo fmt --all --check
- name: Check clippy
if: matrix.version == 'stable'
# Clippy checks can vary between versions in a way that makes it a bit
# fiddly to satisfy them all, so only insist that they pass on stable.
run: cargo clippy --all-targets --all-features -- -D warnings

minimal-versions:
Expand Down

0 comments on commit 1bf7708

Please sign in to comment.