Problem: we use older Go version
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing

Solution: upgrade Go version to 1.18.1
This commit is contained in:
Peter Stuifzand 2022-04-16 15:05:22 +02:00
parent c9543e7a83
commit 179955dbc7
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -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