gmitohtml-upstream/.gitlab-ci.yml

22 lines
284 B
YAML
Raw Normal View History

2020-11-21 17:53:04 +01:00
image: golang:latest
stages:
- validate
- build
fmt:
stage: validate
script:
- gofmt -l -s -e .
- exit $(gofmt -l -s -e . | wc -l)
vet:
stage: validate
script:
- go vet -composites=false ./...
test:
stage: validate
script:
- go test -race -v ./...