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