Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Add git pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
0rzech committed Mar 8, 2024
1 parent 51a95c1 commit 2eba9e6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/git-hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

set -euxo pipefail

cargo sqlx prepare --workspace --check
cargo clippy
cargo test
cargo fmt

0 comments on commit 2eba9e6

Please sign in to comment.