Updated CI Golang version
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Piotr Biernat 2022-04-16 14:42:59 +02:00
parent 0b9e7ddac0
commit c404adcfcd

View File

@ -4,25 +4,25 @@ name: default
steps: steps:
- name: static_check - name: static_check
image: golang:1.16 image: golang:1.18
commands: commands:
- go get honnef.co/go/tools/cmd/staticcheck - go install honnef.co/go/tools/cmd/staticcheck@latest
- staticcheck ./pkg/... - staticcheck ./pkg/...
volumes: volumes:
- name: gopath - name: gopath
path: /go path: /go
- name: lint - name: lint
image: golang:1.16 image: golang:1.18
commands: commands:
- go get golang.org/x/lint/golint - go install golang.org/x/lint/golint@latest
- golint -set_exit_status ./pkg/... - golint -set_exit_status ./pkg/...
volumes: volumes:
- name: gopath - name: gopath
path: /go path: /go
- name: vet - name: vet
image: golang:1.16 image: golang:1.18
commands: commands:
- go vet ./pkg/... - go vet ./pkg/...
volumes: volumes:
@ -31,4 +31,4 @@ steps:
volumes: volumes:
- name: gopath - name: gopath
temp: {} temp: {}