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:
|
||||
- name: testing
|
||||
image: golang:1.16-alpine
|
||||
image: golang:1.18-alpine
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
GOOS: linux
|
||||
GOARCH: amd64
|
||||
commands:
|
||||
- go version
|
||||
- apk --no-cache add git
|
||||
- go get -d -t ./...
|
||||
- go install honnef.co/go/tools/cmd/staticcheck@latest
|
||||
|
|
Loading…
Reference in New Issue
Block a user