Skip to content

Commit 4a3ccae

Browse files
mightyiamwarren2k
andcommitted
build: enforce clippy
Co-authored-by: warren2k <[email protected]>
1 parent 43cc877 commit 4a3ccae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
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)