mirror of
https://codeberg.org/scip/epuppy.git
synced 2025-12-17 04:20:59 +01:00
add linter
This commit is contained in:
@@ -3,7 +3,6 @@ matrix:
|
||||
- linux/amd64
|
||||
goversion:
|
||||
- 1.24
|
||||
- 1.23
|
||||
|
||||
labels:
|
||||
platform: ${platform}
|
||||
@@ -17,3 +16,11 @@ steps:
|
||||
- go get
|
||||
- go build
|
||||
- go test
|
||||
|
||||
linter:
|
||||
when:
|
||||
event: [push]
|
||||
image: golang:${goversion}
|
||||
commands:
|
||||
- go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.5.0
|
||||
- golangci-lint run ./...
|
||||
|
||||
Reference in New Issue
Block a user