linting and formatting
Some checks failed
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline failed

This commit is contained in:
2025-02-13 14:01:26 -05:00
parent 8fe6d00e71
commit 6c2e70d09c
5 changed files with 25 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
when:
- event: push
- event: [push, pull_request]
branch: main
steps:

9
.woodpecker/lint.yaml Normal file
View File

@@ -0,0 +1,9 @@
when:
- event: [push, pull_request]
branch: main
steps:
- name: build
image: golangci-lint
commands:
- golangci-lint run

View File

@@ -1,5 +1,5 @@
when:
- event: push
- event: [push, pull_request]
branch: main
# go again
@@ -13,3 +13,6 @@ steps:
commands:
- go get ./...
- go test ./... -v
depends_on:
- build