butler/build/ci/.drone.yml

20 lines
273 B
YAML

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
commands:
- go test ./...
trigger:
event:
- push