summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c5c5e0b..ace4019 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -29,17 +29,20 @@ build image:
lint:
image: golang:alpine
stage: test
+ needs: []
script:
- go install github.com/google/yamlfmt/cmd/yamlfmt@latest
- yamlfmt --lint -exclude vendor .
unit:
image: golang:alpine
stage: test
+ needs: []
script:
- go test ./...
race:
image: golang:alpine
stage: test
+ needs: []
script:
- go test -race -shuffle=on ./...
variables: