Skip to content

Commit c9e6c98

Browse files
fix: add --all-targets to clippy in both pre-commit and CI
1 parent a795b26 commit c9e6c98

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/static-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
run: cargo fmt --check
5555

5656
- name: Run clippy
57-
run: cargo clippy --no-default-features -- -D warnings
57+
run: cargo clippy --all-targets --no-default-features -- -D warnings
5858

5959
cargo-deny:
6060
name: Cargo Deny

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ repos:
5252
- id: clippy
5353
name: clippy
5454
always_run: true
55-
entry: uv run --frozen cargo clippy --no-default-features -- -D warnings
55+
entry: uv run --frozen cargo clippy --all-targets --no-default-features -- -D warnings
5656
language: system
5757
pass_filenames: false
5858
- repo: https://github.com/codespell-project/codespell

0 commit comments

Comments
 (0)