Skip to content

Commit fd53cfe

Browse files
feat: Pin golangci-lint version to v2.12.1 and update configuration comments for consistency
Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
1 parent 51f1682 commit fd53cfe

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/golangci-lint.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ jobs:
2828
- name: Run golangci-lint
2929
uses: golangci/golangci-lint-action@v6
3030
with:
31-
version: latest
31+
# Pinned to v2; `latest` resolves to the newest v1 in this action
32+
# (1.64.x as of 2026-05), which can't read tests/.golangci.yml.
33+
# When bumping, keep this in sync with the `version: "2"` declared
34+
# in tests/.golangci.yml.
35+
version: v2.12.1
3236
working-directory: tests
3337
args: --build-tags=integration

tests/.golangci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
# SPDX-License-Identifier: MIT
44
#
55
# golangci-lint config for the integration test suite.
6-
# Format: golangci-lint v2.
6+
# Format: golangci-lint v2 (matches the binary pinned in
7+
# .github/workflows/golangci-lint.yaml — keep the two in sync).
78

89
version: "2"
910

0 commit comments

Comments
 (0)