vegvisir/.drone.yml

36 lines
656 B
YAML
Raw Normal View History

2021-07-23 02:00:02 +02:00
kind: pipeline
type: docker
name: default
steps:
2021-11-15 20:15:16 +01:00
- 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
2021-11-15 20:15:16 +01:00
- 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
2021-11-15 20:15:16 +01:00
- name: vet
image: golang:1.17
commands:
- go vet ./pkg/...
volumes:
- name: env_cache
path: /go
volumes:
2021-11-15 20:15:16 +01:00
- name: env_cache
host:
path: /tmp/drone/envs/vegvisir