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 30, 2023
1 parent 43cc877 commit 4a3ccae
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 @@ -22,7 +22,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: RUSTFLAGS="--deny warnings" cargo check ${{ matrix.features }}
with:
components: ${{ matrix.rust == 'msrv' && 'clippy' || '' }}
- run: RUSTFLAGS="--deny warnings" cargo ${{ matrix.rust == 'msrv' && 'clippy' || 'check' }} ${{ matrix.features }}

msrv:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4a3ccae

Please sign in to comment.