Skip to content

ci: adopt golangci-lint v2#41

Open
muff1nman wants to merge 1 commit into
cloudflare:masterfrom
muff1nman:ademaria/ai/golangci-v2-migrate
Open

ci: adopt golangci-lint v2#41
muff1nman wants to merge 1 commit into
cloudflare:masterfrom
muff1nman:ademaria/ai/golangci-v2-migrate

Conversation

@muff1nman

Copy link
Copy Markdown
Contributor

v2 is the current major release with an improved config schema and linter set; moving the config onto it keeps us on the maintained line. It also unblocks CI, since golangci-lint-action installs the latest release and v2 cannot load the old v1 config format.

@muff1nman muff1nman force-pushed the ademaria/ai/golangci-v2-migrate branch from 2618200 to 9d1273a Compare June 30, 2026 19:20
Update golangci-lint to unblock CI, since golangci-lint-action v6 installs
the v1-era v1.64.8 binary that rejects a v2 config; v9 installs a v2 binary
that understands it. Align .golangci.yml with the Service Automation shared
baseline (v2 defaults plus the team exclusion presets) so this repo lints
consistently with the rest of our in-house services.

Reviewed-by: Andrew DeMaria
@muff1nman muff1nman force-pushed the ademaria/ai/golangci-v2-migrate branch from 9d1273a to 5ab6d03 Compare June 30, 2026 19:24
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.

1 participant