steps:
test:
image: golang:1.22
commands:
- go test ./...
when:
- event: pull_request
repo: ada/spiegel
- event: push
branch: main