Added GitLab CI

This commit is contained in:
Valentin Popov 2025-05-05 23:32:53 +00:00
parent 6bfcb79d41
commit 68e69455e5
No known key found for this signature in database
GPG Key ID: AE3CE523DAAA8401

18
.gitlab-ci.yml Normal file
View File

@ -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 ./...