vegvisir/.drone.yml

34 lines
525 B
YAML
Raw Permalink Normal View History

2021-07-23 02:00:02 +02:00
kind: pipeline
type: docker
name: default
steps:
- name: static_check
image: golang:1.16
2021-07-23 02:00:02 +02:00
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: {}