Skip to content

Commit

Permalink
build: enforce clippy
Browse files Browse the repository at this point in the history
Co-authored-by: warren2k <846021+warren2k@users.noreply.github.com>
  • Loading branch information
mightyiam and warren2k committed Sep 17, 2023
1 parent 352bd2d commit 100c90b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: RUSTFLAGS="--deny warnings" cargo check ${{ matrix.features }}
components: ${{ matrix.rust == 'msrv' && 'clippy' || '' }}
- run: RUSTFLAGS="--deny warnings" cargo ${{ matrix.rust == 'msrv' && 'clippy' || 'check' }} ${{ matrix.features }}

test:
name: test
Expand Down

0 comments on commit 100c90b

Please sign in to comment.