From bfa5c2bde2bf666b54598e4a14aa445c2fbc88b5 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Fri, 13 Mar 2026 19:23:38 +0100 Subject: ci: Add basic go tests --- .gitlab-ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitlab-ci.yml (limited to '.gitlab-ci.yml') 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 ./... -- cgit v1.2.3