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