mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-24 13:56:57 +00:00
ci use taged images to ensure go version
This commit is contained in:
parent
ab1c26163d
commit
0c5c11d42c
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue