Add linter step to Woodpecker CI config
This commit is contained in:
@@ -11,6 +11,13 @@ when:
|
||||
event: [push, pull_request, tag]
|
||||
|
||||
steps:
|
||||
lint:
|
||||
image: golangci/golangci-lint:v2.12
|
||||
commands:
|
||||
- golangci-lint run --timeout 5m
|
||||
when:
|
||||
event: [push, pull_request, tag]
|
||||
|
||||
test-build:
|
||||
image: docker:27-dind
|
||||
commands:
|
||||
|
||||
Reference in New Issue
Block a user