vegvisir/.drone.yml
Piotr Biernat a19be84c4b
All checks were successful
continuous-integration/drone/push Build is passing
[feature] Added detach mode to .drone.yml
2021-11-20 17:32:05 +01:00

36 lines
656 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: static_check
image: golang:1.17
commands:
- go install honnef.co/go/tools/cmd/staticcheck@latest
- staticcheck -checks all ./pkg/...
volumes:
- name: env_cache
path: /go
- name: lint
image: golang:1.17
commands:
- go install golang.org/x/lint/golint@latest
- golint -set_exit_status ./pkg/...
volumes:
- name: env_cache
path: /go
- name: vet
image: golang:1.17
commands:
- go vet ./pkg/...
volumes:
- name: env_cache
path: /go
volumes:
- name: env_cache
host:
path: /tmp/drone/envs/vegvisir