Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add clippy to all targets #491

Merged
merged 2 commits into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,7 @@ jobs:

- name: workspace
run: |
cargo clippy --workspace --all-features -- -Dwarnings
- name: wheel
Rigidity marked this conversation as resolved.
Show resolved Hide resolved
run: |
cd wheel
cargo clippy --all-features -- -Dwarnings
cargo clippy --workspace --all-features --all-targets -- -Dwarnings

fuzz_targets:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
name: clippy
description: run cargo clippy on the workspace
stages: [pre-push]
entry: cargo clippy --workspace --all-features -- -Dwarnings
entry: cargo clippy --workspace --all-features --all-targets -- -Dwarnings
language: system
pass_filenames: false
- id: build
Expand Down
Loading