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
10
.drone.yml
10
.drone.yml
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user