diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-07-20 17:00:26 +0300 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-07-20 17:00:26 +0300 |
| commit | 3fcaf100334897e314a86a53576639410055989b (patch) | |
| tree | de86e6598110f469c4945a75feeb1f4332678987 /tools/check-ci.sh | |
| parent | eda87f553a580876e98b18fde4805cdef85c69f5 (diff) | |
Moved tools like check-ci into tools/ and updated the glossary
Diffstat (limited to 'tools/check-ci.sh')
| -rwxr-xr-x | tools/check-ci.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/check-ci.sh b/tools/check-ci.sh new file mode 100755 index 0000000..2baee8a --- /dev/null +++ b/tools/check-ci.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +set -e + +trap 'echo "❌ Check failed"; exit 1' ERR + +test -z "$(go fmt ./...)" +staticcheck ./... +go test --cover ./... +gosec ./... + +echo "✅ All checks passed" |
