summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9d9d961..6e01363 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,6 +24,12 @@ build image:
script:
- docker build --tag $CONTAINER_IMAGE_COMMIT .
- docker push $CONTAINER_IMAGE_COMMIT
+lint:
+ image: golang:alpine
+ stage: test
+ script:
+ - go install github.com/google/yamlfmt/cmd/yamlfmt@latest
+ - yamlfmt --lint .
unit:
image: golang:alpine
stage: test