ci: add woodpecker ci

This commit is contained in:
upong 2023-04-04 10:52:07 +02:00
parent 4d8cb5fd12
commit bbebd05ad6

15
ci/.woodpecker.yml Normal file
View File

@ -0,0 +1,15 @@
clone:
git:
image: woodpeckerci/plugin-git:v1.6.1
environment:
- PLUGIN_SKIP_VERIFY=1
pipeline:
lint:
image: golangci/golangci-lint:v1.51.2
commands:
- golangci-lint run -v --timeout 5m0s
test:
image: golang:1.20.1
commands:
- go test ./...