summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-24 17:16:11 -0600
committermo khan <mo@mokhan.ca>2025-07-24 17:16:11 -0600
commit7257c213887c6a80f727642b016606ec10340ed9 (patch)
tree484ad2bb8794d28b6cee5cde82df8c073c5cf4a2
parent7da1fff657fd07c74d497934240d427a97d2f465 (diff)
chore: use go tool to run yamlfmt in CI
-rw-r--r--.gitlab-ci.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7991a12..93843d1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -31,8 +31,8 @@ lint:
stage: test
needs: []
script:
- - go install github.com/google/yamlfmt/cmd/yamlfmt@latest
- - yamlfmt --lint -exclude vendor .
+ - go get -u ./...
+ - go tool yamlfmt --lint -exclude vendor .
unit:
image: golang:alpine
stage: test
@@ -45,7 +45,6 @@ schema:
needs: []
script:
- go get -u ./...
- # - go install github.com/authzed/zed/cmd/zed@latest
- go tool zed version
- go tool zed validate etc/authzd/*.yaml
race: