kind: pipeline
type: docker
name: default
steps:
- name: build
pull: if-not-exists
image: golang:1.20
commands:
- go build -o butler cmd/butler/main.go
- name: test
image: golang
- go test ./...
trigger:
event:
- push