Problem: we use older Go version
Solution: upgrade Go version to 1.18.1
This commit is contained in:
parent
c9543e7a83
commit
179955dbc7
|
@ -9,12 +9,13 @@ workspace:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: testing
|
- name: testing
|
||||||
image: golang:1.16-alpine
|
image: golang:1.18-alpine
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
GOARCH: amd64
|
GOARCH: amd64
|
||||||
commands:
|
commands:
|
||||||
|
- go version
|
||||||
- apk --no-cache add git
|
- apk --no-cache add git
|
||||||
- go get -d -t ./...
|
- go get -d -t ./...
|
||||||
- go install honnef.co/go/tools/cmd/staticcheck@latest
|
- go install honnef.co/go/tools/cmd/staticcheck@latest
|
||||||
|
|
Loading…
Reference in New Issue
Block a user