mirror of
https://code.rocketnine.space/tslocum/gmitohtml.git
synced 2024-11-14 18:46:43 +01:00
21 lines
284 B
YAML
21 lines
284 B
YAML
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 ./...
|