Add unit-test and lint woodpecker pipelines for pull requests
Also move .woodpecker.yaml into .woodpecker/release.yaml for consistency.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
when:
|
||||
- event: pull_request
|
||||
|
||||
steps:
|
||||
- name: unit-tests
|
||||
image: golang:latest
|
||||
commands:
|
||||
- go test -v -race ./...
|
||||
Reference in New Issue
Block a user