aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@rgdd.se>2026-03-13 19:23:38 +0100
committerRasmus Dahlberg <rasmus@rgdd.se>2026-03-13 19:23:38 +0100
commitbfa5c2bde2bf666b54598e4a14aa445c2fbc88b5 (patch)
treecdf8907e05fdcba2f39fcce2a2ca4ff9418aaf07
parente9150aaeb2e340847bef9b23316fa797823f5d6b (diff)
ci: Add basic go tests
-rw-r--r--.gitlab-ci.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..b16a0fe
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,16 @@
+image: golang:1.24
+
+stages:
+ - test
+
+go-vet:
+ stage: test
+ script: go vet ./...
+
+go-fmt:
+ stage: test
+ script: test -z $(go fmt ./...)
+
+go-test:
+ stage: test
+ script: go test -race ./...