Skip to content

Commit 92941e1

Browse files
committed
Fix golangci-lint configuration for CI compatibility
- Add version field to .golangci.yml (required for golangci-lint v2) - Set version to 2 to match GitHub Actions golangci-lint-action@v8 latest version - This resolves the "unsupported version of the configuration" error in CI lint jobs
1 parent 5ed48e3 commit 92941e1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.golangci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
version: 2
2+
13
run:
24
timeout: 5m
35
modules-download-mode: readonly

0 commit comments

Comments
 (0)