Skip to content

Commit

Permalink
Run clippy with only the declared syn features
Browse files Browse the repository at this point in the history
  • Loading branch information
meithecatte committed Jun 7, 2024
1 parent 561fe5e commit 1c78f09
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
toolchain: ${{ matrix.rust }}
profile: minimal
default: true
- run: cargo build
- uses: taiki-e/install-action@cargo-hack
- run: cargo hack build --feature-powerset
- run: cargo test --all ${{ matrix.extra-test-opts }}
clippy:
runs-on: ubuntu-latest
Expand All @@ -33,4 +34,5 @@ jobs:
toolchain: nightly
override: true
components: clippy
- run: cargo clippy --all --all-targets -- -D warnings
- uses: taiki-e/install-action@cargo-hack
- run: cargo hack clippy --workspace -- -D warnings

0 comments on commit 1c78f09

Please sign in to comment.