add image tags

This commit is contained in:
pat-s 2024-04-27 22:26:51 +02:00
parent c14c5474b6
commit f1662fa9c4
No known key found for this signature in database
GPG key ID: 3C6318841EF78925
2 changed files with 30 additions and 26 deletions

18
.woodpecker/lint.yml Normal file
View file

@ -0,0 +1,18 @@
when:
branch: main
event: ['push', 'pull_request']
steps:
lint:
image: golangci/golangci-lint:v1.57.2
depends_on: vendor
pull: true
commands:
- go version
- go install mvdan.cc/gofumpt@latest
- "[ $(gofumpt -extra -l . | wc -l) != 0 ] && { echo 'code not formated'; exit 1; }"
- golangci-lint run --timeout 5m --build-tags integration
editor-config:
depends_on: []
image: mstruebing/editorconfig-checker:2.7.2