mirror of
https://codeberg.org/woodpecker-plugins/go-plugin.git
synced 2024-11-24 22:35:39 +01:00
No dup wfs (#6)
Reviewed-on: https://codeberg.org/woodpecker-plugins/go-plugin/pulls/6 Co-authored-by: pat-s <patrick.schratz@gmail.com> Co-committed-by: pat-s <patrick.schratz@gmail.com>
This commit is contained in:
parent
18a1562886
commit
92ff2797fa
@ -1,15 +1,21 @@
|
||||
when:
|
||||
- event: [pull_request, tag, cron]
|
||||
- event: push
|
||||
branch:
|
||||
- ${CI_REPO_DEFAULT_BRANCH}
|
||||
|
||||
variables:
|
||||
- &golang 'golang:1.18'
|
||||
- &golang "golang:1.18"
|
||||
|
||||
steps:
|
||||
- name: vendor
|
||||
vendor:
|
||||
image: *golang
|
||||
commands: go mod vendor
|
||||
|
||||
- name: lint
|
||||
lint:
|
||||
image: golangci/golangci-lint:v1.50-alpine
|
||||
commands: golangci-lint run
|
||||
|
||||
- name: test
|
||||
test:
|
||||
image: *golang
|
||||
commands: go test --cover ./...
|
||||
|
Loading…
Reference in New Issue
Block a user