diff options
-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 ./... |