Skip to content

Pin gopls modernize to v0.23.0 - #11

Merged
TomasVotruba merged 1 commit into
mainfrom
fix-modernize-ci
Nov 8, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
fix-modernize-ci

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

The analysis job runs gopls modernize@latest. gopls v0.24.0 (now @latest) requires Go 1.27 and no longer ships the cmd/modernize package path, so the step fails on every run regardless of the change:

gopls@v0.24.0 requires go >= 1.27.0
module .../gopls@latest found (v0.24.0), but does not contain package .../cmd/modernize

Pin to v0.23.0, the newest release that still ships the command. It reports no findings on ./pkg/... and ./internal/position/..., so this is a workflow-only fix with no code changes.

gopls v0.24.0 (now @latest) requires Go 1.27 and dropped the
cmd/modernize package path, breaking the analysis job on every run. Pin
to v0.23.0, the newest release that still ships the command; it reports
no findings on the checked packages.
@TomasVotruba
TomasVotruba merged commit db1f516 into main Nov 8, 2026
5 checks passed
@TomasVotruba
TomasVotruba deleted the fix-modernize-ci branch November 8, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant