add linting

This commit is contained in:
Adora Laura Kalb 2023-03-31 20:12:58 +02:00
parent 6a6b102c94
commit 0dde2b61a1
Signed by: adoralaura
GPG key ID: 7A4552166FC8C056

8
.woodpecker/lint.yml Normal file
View file

@ -0,0 +1,8 @@
pipeline:
go-lint:
image: golangci/golangci-lint
commands:
- golangci-lint run
when:
path: "*.go"
event: ["push", "pull_request", "manual"]