This commit is contained in:
parent
3605cb32ba
commit
902a9aed61
@ -5,12 +5,12 @@ name: default
|
||||
|
||||
steps:
|
||||
- name: format
|
||||
image: golang:1.15
|
||||
image: golang:1.16
|
||||
commands:
|
||||
- bash -c "gofmt -l . | wc -l | cmp -s <(echo 0) || (gofmt -l . && exit 1)"
|
||||
|
||||
- name: install
|
||||
image: golang:1.15
|
||||
image: golang:1.16
|
||||
environment:
|
||||
GOPROXY: http://containers.internal.hillion.co.uk:3142,direct
|
||||
volumes:
|
||||
@ -20,7 +20,7 @@ steps:
|
||||
- go test -i ./...
|
||||
|
||||
- name: test
|
||||
image: golang:1.15
|
||||
image: golang:1.16
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /go
|
||||
@ -28,7 +28,7 @@ steps:
|
||||
- go test ./...
|
||||
|
||||
- name: build (debian)
|
||||
image: golang:1.15-buster
|
||||
image: golang:1.16-buster
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
|
Loading…
Reference in New Issue
Block a user