pipeline:
build:
image: golang
commands:
- go build main.go
- go test -v ./...
when:
event: [push, pull_request, tag, deployment]