update golangci-lint version (#4817)

This commit is contained in:
fatedier
2025-05-27 16:46:15 +08:00
parent 720c09c06b
commit 43cf1688e4
18 changed files with 172 additions and 210 deletions

View File

@@ -20,10 +20,10 @@ jobs:
go-version: '1.23'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
uses: golangci/golangci-lint-action@v8
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.61
version: v2.1
# Optional: golangci-lint command line arguments.
# args: --issues-exit-code=0
@@ -34,9 +34,3 @@ jobs:
# Optional: if set to true then the all caching functionality will be complete disabled,
# takes precedence over all other caching options.
# skip-cache: true
# Optional: if set to true then the action don't cache or restore ~/go/pkg.
# skip-pkg-cache: true
# Optional: if set to true then the action don't cache or restore ~/.cache/go-build.
# skip-build-cache: true