mirror of
https://github.com/lukaszraczylo/filepuff-mcp.git
synced 2026-06-05 22:23:50 +00:00
ci: bump golangci-lint-action to v8 with pinned v2.9.0 (#12)
.golangci.yml declares version: "2" (new schema) but CI was using golangci-lint-action@v6, which ships golangci-lint v1.64.8. That binary is built with go1.24 and cannot load a config targeting go1.25, so every lint run on main failed with: can't load config: the Go language version (go1.24) used to build golangci-lint is lower than the targeted Go version (1.25) golangci-lint-action@v8 supports golangci-lint v2.x. Pin v2.9.0 to match the locally-used version and keep the binary toolchain aligned with the go1.25 project target.
This commit is contained in:
@@ -34,7 +34,7 @@ jobs:
|
||||
cache: true
|
||||
|
||||
- name: Run golangci-lint
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
uses: golangci/golangci-lint-action@v8
|
||||
with:
|
||||
version: latest
|
||||
version: v2.9.0
|
||||
args: --timeout=5m
|
||||
|
||||
Reference in New Issue
Block a user