Updated CI Golang version
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0b9e7ddac0
commit
c404adcfcd
12
.drone.yml
12
.drone.yml
@ -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: {}
|
Loading…
Reference in New Issue
Block a user