Skip to content

Commit 0c0bd35

Browse files
mightyiamwarren2k
andcommitted
build: enforce clippy
Co-authored-by: warren2k <[email protected]>
1 parent 4d2bd4e commit 0c0bd35

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
@@ -19,7 +19,9 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121
- uses: dtolnay/rust-toolchain@stable
22-
- run: RUSTFLAGS="--deny warnings" cargo check ${{ matrix.features }}
22+
with:
23+
components: ${{ matrix.rust == 'stable' && 'clippy' || '' }}
24+
- run: RUSTFLAGS="--deny warnings" cargo ${{ matrix.rust == 'stable' && 'clippy' || 'check' }} ${{ matrix.features }}
2325

2426
msrv:
2527
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)