Skip to content

chore(deps): bump golangci-lint-action v6 → v9 to support golangci-lint v2#37

Merged
jlutheratwork merged 3 commits into
renovate/golangci-golangci-lint-2.xfrom
copilot/sub-pr-35
Mar 13, 2026
Merged

chore(deps): bump golangci-lint-action v6 → v9 to support golangci-lint v2#37
jlutheratwork merged 3 commits into
renovate/golangci-golangci-lint-2.xfrom
copilot/sub-pr-35

Conversation

Copilot AI commented Mar 13, 2026

Copy link
Copy Markdown

The Renovate PR bumped golangci-lint to v2.11.3 but left golangci-lint-action at v6, which explicitly rejects v2 with:

Error: invalid version string 'v2.11.3', golangci-lint v2 is not supported by
golangci-lint-action v6, you must update to golangci-lint-action v7.

Changes

  • .github/workflows/go.yml: update golangci/golangci-lint-action from 55c2c1448f86e01eaae002a5a3a9624417608d84 # v61e7e51e771db61008b38414a730f564565cf7c20 # v9

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…nt v2

Co-authored-by: jlutheratwork <1682581+jlutheratwork@users.noreply.github.com>
Copilot AI changed the title [WIP] chore(deps): update dependency golangci/golangci-lint to v2 chore(deps): bump golangci-lint-action v6 → v9 to support golangci-lint v2 Mar 13, 2026
Copilot AI requested a review from jlutheratwork March 13, 2026 12:25
@jlutheratwork

Copy link
Copy Markdown
Contributor

@copilot fix the lint failures

Co-authored-by: jlutheratwork <1682581+jlutheratwork@users.noreply.github.com>

Copilot AI commented Mar 13, 2026

Copy link
Copy Markdown
Author

@copilot fix the lint failures

Fixed in commit 1dc4c8b. The lint failure was QF1002: could use tagged switch on c (staticcheck) in reader.go:175 — converted the untagged switch { case c == 0: } to a tagged switch c { case 0: }.

@jlutheratwork
jlutheratwork marked this pull request as ready for review March 13, 2026 13:04
@jlutheratwork
jlutheratwork merged commit c1cfd44 into renovate/golangci-golangci-lint-2.x Mar 13, 2026
3 checks passed
@jlutheratwork
jlutheratwork deleted the copilot/sub-pr-35 branch March 13, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants