Skip to content

Commit

Permalink
devops: Add more rules to pre-commit hook
Browse files Browse the repository at this point in the history
Add rules also present in CI, in an attempt to sync these two checks.

Co-authored-by: Alan Szepieniec <[email protected]>
  • Loading branch information
Sword-Smith and aszepieniec committed Jan 31, 2025
1 parent bc53962 commit 466a5b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .cargo-husky/hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ echo '+cargo clippy --all-targets --all-features -- -D warnings'
cargo clippy --all-targets --all-features -- -D warnings
echo '+cargo fmt --all -- --check'
cargo fmt --all -- --check
echo '+cargo doc --no-deps --workspace'
cargo doc --no-deps --workspace
echo '+cargo test --doc -- -D warnings'
cargo test --doc -- -D warnings

0 comments on commit 466a5b8

Please sign in to comment.