mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-24 22:06:57 +00:00
set golang to 1.18 (#84)
Co-authored-by: 6543 <6543@obermui.de> Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/84
This commit is contained in:
parent
57076a47d3
commit
f2ba7eac64
3 changed files with 115 additions and 5 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