mirror of
https://codeberg.org/woodpecker-plugins/go-plugin.git
synced 2024-11-24 22:35:39 +01:00
16 lines
278 B
YAML
16 lines
278 B
YAML
variables:
|
|
- &golang 'golang:1.18'
|
|
|
|
pipeline:
|
|
- name: vendor
|
|
image: *golang
|
|
commands: go mod vendor
|
|
|
|
- name: lint
|
|
image: golangci/golangci-lint:v1.50-alpine
|
|
commands: golangci-lint run
|
|
|
|
- name: test
|
|
image: *golang
|
|
commands: go test --cover ./...
|