summaryrefslogtreecommitdiff
path: root/tools/check-ci.sh
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-07-20 17:00:26 +0300
committerKyren223 <Kyren223@proton.me>2025-07-20 17:00:26 +0300
commit3fcaf100334897e314a86a53576639410055989b (patch)
treede86e6598110f469c4945a75feeb1f4332678987 /tools/check-ci.sh
parenteda87f553a580876e98b18fde4805cdef85c69f5 (diff)
Moved tools like check-ci into tools/ and updated the glossary
Diffstat (limited to 'tools/check-ci.sh')
-rwxr-xr-xtools/check-ci.sh12
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"