mirror of
https://codeberg.org/woodpecker-plugins/go-plugin.git
synced 2025-05-09 19:29:30 +02:00
Adds two custom cli flags: - `StringMapFlag` parses JSON to string map used for plugin map options - `StringSliceFlag` parses comma-separated plugin slice options to slice and supports escaping Reviewed-on: https://codeberg.org/woodpecker-plugins/go-plugin/pulls/48 Reviewed-by: Patrick Schratz <pat-s@noreply.codeberg.org> Co-authored-by: Robert Kaussow <mail@thegeeklab.de> Co-committed-by: Robert Kaussow <mail@thegeeklab.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.24"
|
|
|
|
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
|