Fix ci
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/pr/lint Pipeline failed
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/pr/lint Pipeline failed
This commit is contained in:
parent
337522b489
commit
fd409c860d
1 changed files with 7 additions and 2 deletions
|
@ -1,5 +1,10 @@
|
||||||
steps:
|
steps:
|
||||||
lint:
|
lint:
|
||||||
image: golangci/golangci-lint
|
image: golang:1.22
|
||||||
commands:
|
commands:
|
||||||
- golangci-lint run
|
- go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
|
||||||
|
- golangci-lint run
|
||||||
|
when:
|
||||||
|
- event: pull_request
|
||||||
|
- event: push
|
||||||
|
branch: main
|
Loading…
Reference in a new issue