Skip to content

Commit

Permalink
pedantic clippy in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
wyatt-avilla committed Jun 15, 2024
1 parent 53c3fe9 commit fa58505
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jobs:
GOODREADS_SHELF: ${{secrets.GOODREADS_SHELF}}
run: cargo test --verbose
- name: Run Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
run: cargo clippy --all-targets --all-features -- -D warnings -W clippy::pedantic
- name: Check formatting
run: cargo fmt -- --check
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ repos:
hooks:
- id: cargo-clippy
name: cargo clippy
entry: cargo clippy --all-targets --all-features -- -D warnings
entry: cargo clippy --all-targets --all-features -- -D warnings -W clippy::pedantic
language: rust
types: [rust]
pass_filenames: false
Expand Down

0 comments on commit fa58505

Please sign in to comment.