mirror of
https://codeberg.org/woodpecker-plugins/go-plugin
synced 2026-06-04 10:14:59 +08:00
a23e4f7e42
Reviewed-on: https://codeberg.org/woodpecker-plugins/go-plugin/pulls/62 Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de> Co-committed-by: woodpecker-bot <woodpecker-bot@obermui.de>
25 lines
374 B
YAML
25 lines
374 B
YAML
when:
|
|
- event: [pull_request, tag, cron]
|
|
- event: push
|
|
branch:
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
- "renovate/*"
|
|
|
|
variables:
|
|
- &golang "golang:1.25"
|
|
|
|
steps:
|
|
vendor:
|
|
image: *golang
|
|
commands: go mod vendor
|
|
|
|
lint:
|
|
image: *golang
|
|
commands: make lint
|
|
when:
|
|
event: [push, tag, cron]
|
|
|
|
test:
|
|
image: *golang
|
|
commands: make test
|