ci use taged images to ensure go version

This commit is contained in:
6543 2022-06-10 14:58:48 +02:00
parent ab1c26163d
commit 0c5c11d42c

View file

@ -1,7 +1,7 @@
pipeline: pipeline:
# use vendor to cache dependencies # use vendor to cache dependencies
vendor: vendor:
image: golang image: golang:1.18
commands: commands:
- go mod vendor - go mod vendor
@ -14,11 +14,11 @@ pipeline:
- golangci-lint run --timeout 5m - golangci-lint run --timeout 5m
test: test:
image: golang image: golang:1.18
commands: commands:
- go test ./... - go test ./...
build: build:
image: golang image: golang:1.18
commands: commands:
- go build - go build