Skip to content

Commit ba99ea8

Browse files
chore(golangci-lint): upgrading to v1.55.2
Co-authored-by: Anatoly Chernov <[email protected]> Signed-off-by: Dario Tranchitella <[email protected]>
1 parent b8226b2 commit ba99ea8

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/lint.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,14 @@ jobs:
1616
runs-on: ubuntu-20.04
1717
steps:
1818
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
19+
- name: Install Go
20+
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
21+
with:
22+
go-version: '1.21'
23+
cache: false
1924
- name: Run golangci-lint
2025
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
2126
with:
22-
version: v1.51.2
27+
version: v1.55.2
2328
only-new-issues: false
2429
args: --timeout 5m --config .golangci.yml

.golangci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,6 @@ linters:
3939
- tparallel
4040
- nilerr
4141
- exhaustruct
42+
- depguard
4243
service:
43-
golangci-lint-version: 1.45.x
44+
golangci-lint-version: 1.55.x

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ mkcert: ## Download mkcert locally if necessary.
258258
$(call go-install-tool,$(MKCERT),filippo.io/mkcert@$(MKCERT_VERSION))
259259

260260
GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint
261-
GOLANGCI_LINT_VERSION = v1.51.2
261+
GOLANGCI_LINT_VERSION = v1.55.2
262262
golangci-lint: ## Download golangci-lint locally if necessary.
263263
$(call go-install-tool,$(GOLANGCI_LINT),github.com/golangci/golangci-lint/cmd/golangci-lint@$(GOLANGCI_LINT_VERSION))
264264

0 commit comments

Comments
 (0)