update golangci-lint version (#4897)

This commit is contained in:
fatedier
2025-07-25 17:10:32 +08:00
committed by GitHub
parent c3bf952d8f
commit 7fe295f4f4
2 changed files with 4 additions and 11 deletions

View File

@@ -23,14 +23,4 @@ jobs:
uses: golangci/golangci-lint-action@v8 uses: golangci/golangci-lint-action@v8
with: with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v2.1 version: v2.3
# Optional: golangci-lint command line arguments.
# args: --issues-exit-code=0
# Optional: show only new issues if it's a pull request. The default value is `false`.
# only-new-issues: true
# Optional: if set to true then the all caching functionality will be complete disabled,
# takes precedence over all other caching options.
# skip-cache: true

View File

@@ -73,6 +73,9 @@ linters:
- linters: - linters:
- revive - revive
text: unused-parameter text: unused-parameter
- linters:
- revive
text: "avoid meaningless package names"
- linters: - linters:
- unparam - unparam
text: is always false text: is always false