chore(ci): bootstrap CI + hooks
Squash-merge bootstrap-cicd into integration
This commit is contained in:
11
.githooks/pre-commit
Normal file
11
.githooks/pre-commit
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
echo "> pre-commit: format + lint + commit message check"
|
||||
|
||||
# Run format and lint inside the CI container
|
||||
scripts/ci format
|
||||
scripts/ci lint
|
||||
|
||||
echo "pre-commit completed."
|
||||
|
Reference in New Issue
Block a user