Skip to content

Commit

Permalink
Run clippy on all CI targets
Browse files Browse the repository at this point in the history
  • Loading branch information
csnover committed Jun 9, 2024
1 parent 91fe3ba commit 64fd2fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ jobs:
# a syntax check that does not change depending upon compiler features
if: matrix.features.check_formatting
run: cargo fmt -- --check
- name: Run clippy
run: cargo clippy --all-targets ${{ matrix.features.value }} -- -D warnings
- name: Build documentation
run: cargo rustdoc ${{ matrix.features.value }} -- -D warnings

Expand All @@ -61,6 +59,8 @@ jobs:
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- name: Run clippy
run: cargo clippy --all-targets ${{ matrix.features.value }} -- -D warnings
- name: Build workspace
run: cargo build ${{ matrix.features.value }}
# Testing is separated just to more clearly differentiate in the CI
Expand Down

0 comments on commit 64fd2fd

Please sign in to comment.