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