diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..1d05a85 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,18 @@ +stages: + - vet + - test + +variables: + CGO_ENABLED: "1" + +vet: + stage: vet + image: golang:1.24-alpine + script: + - go vet ./... + +test: + stage: test + image: golang:1.24-alpine + script: + - go test -race -cover ./...