summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-06-13 15:21:12 -0600
committermo khan <mo@mokhan.ca>2025-06-13 15:21:12 -0600
commit7cd806499f772314b3a326d77e89441a165d1a57 (patch)
tree901f0cb314e3fa384aa4bf6fb436a4257f83dc9e
parent2d120cad9b96a6318e730b6d9a9c39c4ee433c42 (diff)
chore: run linter and unit tests immediately
-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: