vegvisir/.drone.yml
Piotr Biernat e070fc402a
Some checks failed
continuous-integration/drone/push Build is failing
Added go vet, staticheck and lint to .drone.yml
2021-08-02 23:44:25 +02:00

34 lines
525 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: static_check
image: golang:1.16
commands:
- go get honnef.co/go/tools/cmd/staticcheck
- staticcheck ./pkg/...
volumes:
- name: gopath
path: /go
- name: lint
image: golang:1.16
commands:
- go get golang.org/x/lint/golint
- golint -set_exit_status ./pkg/...
volumes:
- name: gopath
path: /go
- name: vet
image: golang:1.16
commands:
- go vet ./pkg/...
volumes:
- name: gopath
path: /go
volumes:
- name: gopath
temp: {}