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