Terminal-based user interface toolkit
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
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 ./...
|
|
|