Skip to content

Commit

Permalink
chore(deps): update golangci/golangci-lint docker tag to v1.58.1
Browse files Browse the repository at this point in the history
Fix this warning:

    WARN [lintersdb] The name "goerr113" is deprecated. The linter has been renamed to: err113.

by renaming goerr113 to err113.

Signed-off-by: renovate[bot] <bot@renovateapp.com>
Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
  • Loading branch information
renovate[bot] authored and michi-covalent committed May 17, 2024
1 parent faeda77 commit 34e8345
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v6.0.1
with:
# renovate: datasource=docker depName=golangci/golangci-lint
version: v1.57.2
version: v1.58.1
args: --config=.golangci.yml --verbose
skip-cache: true

Expand Down
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ linters:
enable:
- bodyclose
- gocheckcompilerdirectives
- goerr113
- err113
- gofmt
- goheader
- goimports
Expand Down Expand Up @@ -50,7 +50,7 @@ issues:
- G101 # gosec: Potential hardcoded credentials
exclude-rules:
# Disallows any kind of `fmt.Errorf("%s is too high", bar)`, too opinionated.
- linters: [goerr113]
- linters: [err113]
text: "do not define dynamic errors, use wrapped static errors instead"
# Most exported consts are self-descriptive.
- linters: [revive]
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ GO_IMAGE_VERSION = 1.22.3-alpine3.19
GO_IMAGE_SHA = sha256:f1fe698725f6ed14eb944dc587591f134632ed47fc0732ec27c7642adbe90618

# renovate: datasource=docker depName=golangci/golangci-lint
GOLANGCILINT_WANT_VERSION = v1.57.2
GOLANGCILINT_IMAGE_SHA = sha256:8f3a60a00a83bb7d599d2e028ac0c3573dc2b9ec0842590f1c2e59781c821da7
GOLANGCILINT_WANT_VERSION = v1.58.1
GOLANGCILINT_IMAGE_SHA = sha256:5bef7ef61a4e2529b39d4e39de3564d82c38291636cdb9b79a656cedb09ab175
GOLANGCILINT_VERSION = $(shell golangci-lint version --format short 2>/dev/null)

$(TARGET):
Expand Down

0 comments on commit 34e8345

Please sign in to comment.