[fix] Updated .drone.yml config
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
92fb8356f1
commit
f2292ef8fb
29
.drone.yml
29
.drone.yml
@ -3,32 +3,33 @@ type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: static_check
|
||||
image: golang:1.16
|
||||
- name: static_check
|
||||
image: golang:1.17
|
||||
commands:
|
||||
- go get honnef.co/go/tools/cmd/staticcheck
|
||||
- staticcheck ./pkg/...
|
||||
- go install honnef.co/go/tools/cmd/staticcheck@latest
|
||||
- staticcheck -checks all ./pkg/...
|
||||
volumes:
|
||||
- name: gopath
|
||||
- name: env_cache
|
||||
path: /go
|
||||
|
||||
- name: lint
|
||||
image: golang:1.16
|
||||
- name: lint
|
||||
image: golang:1.17
|
||||
commands:
|
||||
- go get golang.org/x/lint/golint
|
||||
- go install golang.org/x/lint/golint@latest
|
||||
- golint -set_exit_status ./pkg/...
|
||||
volumes:
|
||||
- name: gopath
|
||||
- name: env_cache
|
||||
path: /go
|
||||
|
||||
- name: vet
|
||||
image: golang:1.16
|
||||
- name: vet
|
||||
image: golang:1.17
|
||||
commands:
|
||||
- go vet ./pkg/...
|
||||
volumes:
|
||||
- name: gopath
|
||||
- name: env_cache
|
||||
path: /go
|
||||
|
||||
volumes:
|
||||
- name: gopath
|
||||
temp: {}
|
||||
- name: env_cache
|
||||
host:
|
||||
path: /tmp/drone/envs/vegvisir
|
Loading…
Reference in New Issue
Block a user