forgejo-sdk/.woodpecker/lint.yml

22 lines
323 B
YAML
Raw Normal View History

2024-06-11 19:14:33 +01:00
variables:
- &golang_image 'golang:1.22'
when:
- event: [push, pull_request, manual]
steps:
2024-06-11 19:18:54 +01:00
- name: vendor
image: *golang_image
commands:
- go mod vendor
2024-06-11 19:14:33 +01:00
- name: vet
image: *golang_image
commands:
- make vet
- name: lint
image: *golang_image
commands:
- make ci-lint