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 Jan 8, 2024
1 parent 5a5731c commit 7473afb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: RUSTFLAGS="--deny warnings" cargo check ${{ matrix.features }}
with:
components: ${{ matrix.rust == 'stable' && 'clippy' || '' }}
- run: RUSTFLAGS="--deny warnings" cargo ${{ matrix.rust == 'stable' && 'clippy' || 'check' }} ${{ matrix.features }}

msrv:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 7473afb

Please sign in to comment.