Piotr Biernat
c404adcfcd
All checks were successful
continuous-integration/drone/push Build is passing
34 lines
548 B
YAML
34 lines
548 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: static_check
|
|
image: golang:1.18
|
|
commands:
|
|
- go install honnef.co/go/tools/cmd/staticcheck@latest
|
|
- staticcheck ./pkg/...
|
|
volumes:
|
|
- name: gopath
|
|
path: /go
|
|
|
|
- name: lint
|
|
image: golang:1.18
|
|
commands:
|
|
- go install golang.org/x/lint/golint@latest
|
|
- golint -set_exit_status ./pkg/...
|
|
volumes:
|
|
- name: gopath
|
|
path: /go
|
|
|
|
- name: vet
|
|
image: golang:1.18
|
|
commands:
|
|
- go vet ./pkg/...
|
|
volumes:
|
|
- name: gopath
|
|
path: /go
|
|
|
|
volumes:
|
|
- name: gopath
|
|
temp: {} |