Skip to content

Commit 787ad05

Browse files
Use newer version of golangci-lint
Signed-off-by: Furkat Gofurov <[email protected]>
1 parent 55c097a commit 787ad05

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,21 @@ jobs:
77
name: lint
88
runs-on: ubuntu-latest
99
strategy:
10+
fail-fast: false
1011
matrix:
1112
working-directory:
1213
- ""
1314
steps:
14-
- uses: actions/checkout@v4
15-
- uses: actions/setup-go@v5
15+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
16+
- name: Calculate go version
17+
id: vars
18+
run: echo "go_version=$(make go-version)" >> $GITHUB_OUTPUT
19+
- name: Set up Go
20+
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # tag=v5.1.0
1621
with:
17-
go-version: '1.23'
22+
go-version: ${{ steps.vars.outputs.go_version }}
1823
- name: golangci-lint
19-
uses: golangci/golangci-lint-action@v6
24+
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # tag=v6.1.1
2025
with:
21-
version: v1.57.2
22-
args: --timeout 15m
26+
version: v1.60.2
27+
args: --timeout 15m

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ CONTROLLER_GEN_VER := v0.16.1
7070
CONTROLLER_GEN_BIN := controller-gen
7171
CONTROLLER_GEN := $(TOOLS_BIN_DIR)/$(CONTROLLER_GEN_BIN)-$(CONTROLLER_GEN_VER)
7272

73-
GOLANGCI_LINT_VER := v1.57.2
73+
GOLANGCI_LINT_VER := v1.60.2
7474
GOLANGCI_LINT_BIN := golangci-lint
7575
GOLANGCI_LINT := $(TOOLS_BIN_DIR)/$(GOLANGCI_LINT_BIN)-$(GOLANGCI_LINT_VER)
7676

0 commit comments

Comments
 (0)