go-plugin/.woodpecker.yaml

16 lines
278 B
YAML
Raw Normal View History

2023-01-08 03:53:03 +01:00
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 ./...