Skip to content

Commit 7473afb

Browse files
mightyiamwarren2k
andcommitted
build: enforce clippy
Co-authored-by: warren2k <[email protected]>
1 parent 5a5731c commit 7473afb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v4
2525
- uses: dtolnay/rust-toolchain@stable
26-
- run: RUSTFLAGS="--deny warnings" cargo check ${{ matrix.features }}
26+
with:
27+
components: ${{ matrix.rust == 'stable' && 'clippy' || '' }}
28+
- run: RUSTFLAGS="--deny warnings" cargo ${{ matrix.rust == 'stable' && 'clippy' || 'check' }} ${{ matrix.features }}
2729

2830
msrv:
2931
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)