forgejo-sdk/.woodpecker/build.yml
Martijn van der Kleijn 8cd818c535 Update CI workflows to run on PR for integration
Signed-off-by: Martijn van der Kleijn <martijn.niji@gmail.com>
2024-06-16 00:10:32 +02:00

20 lines
No EOL
302 B
YAML

variables:
- &golang_image 'golang:1.22'
when:
- branch: main
event: push
path:
exclude: ['*.md', 'docs/**']
- event: [pull_request]
path:
exclude: ['*.md', 'docs/**']
steps:
- name: build
image: *golang_image
commands:
- make build
depends_on:
- lint