mirror of
https://codeberg.org/scip/kleingebaeck.git
synced 2026-11-22 14:39:01 +01:00
upd linter
This commit is contained in:
@@ -2,7 +2,9 @@ matrix:
|
||||
platform:
|
||||
- linux/amd64
|
||||
goversion:
|
||||
- 1.24
|
||||
- 1.26
|
||||
lintversion:
|
||||
- v2.12.2
|
||||
|
||||
labels:
|
||||
platform: ${platform}
|
||||
@@ -21,7 +23,7 @@ steps:
|
||||
event: [push]
|
||||
image: golang:${goversion}
|
||||
commands:
|
||||
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.5.0
|
||||
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin ${lintversion}
|
||||
- golangci-lint --version
|
||||
- golangci-lint run ./...
|
||||
depends_on: [build]
|
||||
|
||||
Reference in New Issue
Block a user