mirror of
https://codeberg.org/scip/sway-descratch.git
synced 2026-08-23 22:34:23 +02:00
update linter
This commit is contained in:
@@ -3,6 +3,8 @@ matrix:
|
||||
- linux/amd64
|
||||
goversion:
|
||||
- 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