Skip to content

Commit 6802104

Browse files
authored
chore: Bump golangci-lint to v2.5 (#105)
The current version does not support Go 1.25 which is blocking PRs. --- For example: https://github.com/abcxyz/team-link/actions/runs/18139525219/job/51626715926?pr=164 Signed-off-by: James Alseth <jalseth@google.com>
1 parent a3d6f24 commit 6802104

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/actions/lint-go-modules/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ inputs:
3333
golangci_lint_version:
3434
description: 'Version of golangci linter to use'
3535
type: 'string'
36-
default: 'v2.2'
36+
default: 'v2.5'
3737

3838
runs:
3939
using: 'composite'

.github/actions/lint-go/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ inputs:
3333
golangci_lint_version:
3434
description: 'Version of golangci linter to use'
3535
type: 'string'
36-
default: 'v2.2'
36+
default: 'v2.5'
3737

3838
runs:
3939
using: 'composite'

.github/workflows/.lint-actions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ jobs:
279279
GO_LINT_GOLANGCI_URL: |-
280280
${{ format('https://raw.githubusercontent.com/abcxyz/actions/{0}/.golangci.yml', github.sha) }}
281281
GO_LINT_GOLANGCI_LINT_VERSION: |-
282-
${{ vars.GO_LINT_GOLANGCI_LINT_VERSION || 'v2.2' }}
282+
${{ vars.GO_LINT_GOLANGCI_LINT_VERSION || 'v2.5' }}
283283
284284
steps:
285285
- name: 'Checkout'

.github/workflows/go-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ on:
3939
golangci_lint_version:
4040
description: 'Version of golangci linter to use'
4141
type: 'string'
42-
default: 'v2.2'
42+
default: 'v2.5'
4343

4444
jobs:
4545
# modules checks if the go modules are all up-to-date. While rare with modern

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ jobs:
285285
GO_LINT_GOLANGCI_URL: |-
286286
${{ vars.GO_LINT_GOLANGCI_URL || 'https://raw.githubusercontent.com/abcxyz/actions/main/default.golangci.yml' }}
287287
GO_LINT_GOLANGCI_LINT_VERSION: |-
288-
${{ vars.GO_LINT_GOLANGCI_LINT_VERSION || 'v2.2' }}
288+
${{ vars.GO_LINT_GOLANGCI_LINT_VERSION || 'v2.5' }}
289289
290290
steps:
291291
- name: 'Checkout'

0 commit comments

Comments
 (0)