database-anonymizer/.woodpecker/test.yml
Simon Vieille 7be1382051
Some checks failed
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/build Pipeline failed
add ci
2024-03-20 12:32:57 +01:00

21 lines
357 B
YAML

when:
- event: [pull_request, tag]
- event: push
branch:
- ${CI_REPO_DEFAULT_BRANCH}
- release/*
- renovate/*
variables:
- &golang_image 'docker.io/golang:1.22.0'
steps:
"Add vendor":
image: *golang_image
commands:
- go mod vendor
"Run tests":
image: *golang_image
commands:
- go test -v ./...