go-plugin/.woodpecker.yaml
2023-01-08 04:53:03 +02:00

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 ./...