summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e4e50a8..13887c8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -31,8 +31,8 @@ lint:
stage: test
needs: []
script:
- - go get -u ./...
- - go tool yamlfmt -lint -exclude vendor .
+ - go install github.com/google/yamlfmt/cmd/yamlfmt@latest
+ - yamlfmt -lint -exclude vendor .
unit:
image: golang:alpine
stage: test