[fix] Updated .drone.yml config
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Piotr Biernat 2021-11-15 20:15:16 +01:00
parent 92fb8356f1
commit f2292ef8fb

View File

@ -3,32 +3,33 @@ type: docker
name: default name: default
steps: steps:
- name: static_check - name: static_check
image: golang:1.16 image: golang:1.17
commands: commands:
- go get honnef.co/go/tools/cmd/staticcheck - go install honnef.co/go/tools/cmd/staticcheck@latest
- staticcheck ./pkg/... - staticcheck -checks all ./pkg/...
volumes: volumes:
- name: gopath - name: env_cache
path: /go path: /go
- name: lint - name: lint
image: golang:1.16 image: golang:1.17
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: env_cache
path: /go path: /go
- name: vet - name: vet
image: golang:1.16 image: golang:1.17
commands: commands:
- go vet ./pkg/... - go vet ./pkg/...
volumes: volumes:
- name: gopath - name: env_cache
path: /go path: /go
volumes: volumes:
- name: gopath - name: env_cache
temp: {} host:
path: /tmp/drone/envs/vegvisir