go-common/.drone.yml

18 lines
291 B
YAML

---
kind: pipeline
name: compliance
trigger:
event:
- pull_request
steps:
- name: test
pull: always
image: golang:1.16
commands:
- make test
- name: check
pull: always
image: golang:1.16
commands:
- make vet
- diff <(gofmt -d .) <(echo -n)