mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-24 22:06:57 +00:00
add image tags
This commit is contained in:
parent
c14c5474b6
commit
f1662fa9c4
2 changed files with 30 additions and 26 deletions
18
.woodpecker/lint.yml
Normal file
18
.woodpecker/lint.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue