Added GitLab CI
This commit is contained in:
parent
6bfcb79d41
commit
68e69455e5
18
.gitlab-ci.yml
Normal file
18
.gitlab-ci.yml
Normal 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 ./...
|
||||
Loading…
x
Reference in New Issue
Block a user