wg-quicker/.woodpecker.yml
Marvin Preuss d23218c14d
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
ci: git checkout -- before running make release
2022-02-07 15:48:10 +01:00

36 lines
557 B
YAML

pipeline:
tags:
image: alpine/git
commands:
- git fetch --tags
submodules:
image: alpine/git
commands:
- git submodule init
- git submodule update
when:
event:
- tag
lint:
image: golang:1.17
commands:
- make lint
test:
image: golang:1.17
commands:
- make test
build:
image: golang:1.17
commands:
- make build
release:
image: golang:1.17
commands:
- git checkout -- .
- make release
secrets:
- github_token
when:
event:
- tag