Add a vet step to drone config

vet-and-test
Thomas Boerger 4 years ago
parent 5b1f7eba2f
commit 5e62b6368b
No known key found for this signature in database
GPG Key ID: 09745AFF9D63C79B

@ -1,9 +1,31 @@
---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: amd64
steps:
- name: vet
image: golang:1.15
commands:
- go vet ./...
volumes:
- name: gopath
path: /go
- name: test
image: golang:1.15
commands:
- go test ./...
- go test -cover ./...
volumes:
- name: gopath
path: /go
volumes:
- name: gopath
temp: {}
...

Loading…
Cancel
Save