Update .gitlab-ci.yml

This commit is contained in:
Phil 2021-12-07 22:23:41 +01:00
parent 8a5b7e237d
commit 6ba254f0a8

View file

@ -1,3 +1,15 @@
stages:
- test
- build
format:
image: golang:latest
stage: test
script:
- go fmt $(go list ./... | grep -v /vendor/)
- go vet $(go list ./... | grep -v /vendor/)
- go test -race $(go list ./... | grep -v /vendor/)
docker-build:
image: docker:latest
stage: build