Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update docker.io/golangci/golangci-lint docker tag to v1.59.0 (main) #2415

Merged
merged 3 commits into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/static-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0
with:
# renovate: datasource=docker depName=docker.io/golangci/golangci-lint
version: v1.57.2
version: v1.59.0
args: --config=.golangci.yml --verbose

format:
Expand Down
7 changes: 4 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ run:
timeout: 10m

output:
format: tab
formats:
- format: tab
unique-by-line: false
sort-results: true

linters:
disable-all: true
enable:
- goerr113
- err113
- goheader
- goimports
- govet
Expand Down Expand Up @@ -40,7 +41,7 @@ issues:
max-same-issues: 0
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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ protoc-gen-go-tetragon:
$(GO_BUILD) -o bin/$@ ./tools/protoc-gen-go-tetragon/

# renovate: datasource=docker
GOLANGCILINT_IMAGE=docker.io/golangci/golangci-lint:v1.57.2@sha256:8f3a60a00a83bb7d599d2e028ac0c3573dc2b9ec0842590f1c2e59781c821da7
GOLANGCILINT_IMAGE=docker.io/golangci/golangci-lint:v1.59.0@sha256:8ad7dc3d98d77dec753f07408c7683ab854752a3eb8dc6a5e5f0728f9a89ae2c
GOLANGCILINT_WANT_VERSION := $(subst @sha256,,$(patsubst v%,%,$(word 2,$(subst :, ,$(lastword $(subst /, ,$(GOLANGCILINT_IMAGE)))))))
GOLANGCILINT_VERSION = $(shell golangci-lint version 2>/dev/null)
.PHONY: check
Expand Down
Loading