kind: pipeline
type: docker
name: test
steps:
- name: golangci-lint
image: golangci/golangci-lint:latest-alpine
commands:
- golangci-lint run
- name: test
image: golang:1.13
- go test ./...
- name: build-test
- go build
trigger:
branch:
- master
event:
- pull_request
- push