diff options
author | Rasmus Dahlberg <rasmus@rgdd.se> | 2024-05-16 07:47:15 +0200 |
---|---|---|
committer | Rasmus Dahlberg <rasmus@rgdd.se> | 2024-05-16 07:47:15 +0200 |
commit | e0cb52d2929fb0ef2080bb67cc7128d293b975ac (patch) | |
tree | d1a8cdcca33173887129a6fb94014d99c0f8f661 | |
parent | bea0a1bce37a73acb323269edeaa5b7d11a2b42d (diff) |
ci: Run go fmt/test/vet
-rw-r--r-- | .gitlab-ci.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..c64b172 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,16 @@ +image: golang:1.19 + +stages: + - test + +go-fmt: + stage: test + script: test -z $(go fmt ./...) + +go-vet: + stage: test + script: go vet ./... + +go-test: + stage: test + script: go test -race ./... |