Skip to content

Commit 838d57a

Browse files
mightyiamwarren2k
andcommitted
build: enforce clippy
Co-authored-by: warren2k <[email protected]>
1 parent 038ea11 commit 838d57a

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
@@ -22,7 +22,9 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@v4
2424
- uses: dtolnay/rust-toolchain@stable
25-
- run: RUSTFLAGS="--deny warnings" cargo check ${{ matrix.features }}
25+
with:
26+
components: ${{ matrix.rust == 'msrv' && 'clippy' || '' }}
27+
- run: RUSTFLAGS="--deny warnings" cargo ${{ matrix.rust == 'msrv' && 'clippy' || 'check' }} ${{ matrix.features }}
2628

2729
msrv:
2830
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)