Run linter once
This commit is contained in:
11
.woodpecker/lint.yaml
Normal file
11
.woodpecker/lint.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
when:
|
||||
branch: master
|
||||
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]
|
||||
Reference in New Issue
Block a user