Skip to content

Commit

Permalink
[CHORE] Enable all targets for cargo check (#2792)
Browse files Browse the repository at this point in the history
Fixes issue where a test could be invalid rust but still pass precommit
  • Loading branch information
samster25 authored Sep 5, 2024
1 parent 178f5f0 commit c6afd78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ repos:
language: system
types: [rust]
pass_filenames: false
args: [--workspace]
args: [--workspace, --all-targets]

- id: cargo-check-all-features
name: cargo check (all features)
Expand All @@ -91,7 +91,7 @@ repos:
language: system
types: [rust]
pass_filenames: false
args: [--workspace, --all-features]
args: [--workspace, --all-features, --all-targets]

- id: clippy
name: clippy
Expand Down

0 comments on commit c6afd78

Please sign in to comment.