Skip to content

fix: pin goimports to v0.42.0 to support Go 1.24#127

Merged
afrittoli merged 1 commit into
mainfrom
worktree-fix-goimports-pin
Apr 8, 2026
Merged

fix: pin goimports to v0.42.0 to support Go 1.24#127
afrittoli merged 1 commit into
mainfrom
worktree-fix-goimports-pin

Conversation

@afrittoli
Copy link
Copy Markdown
Member

Summary

  • golang.org/x/tools@latest resolved to v0.43.0 which requires Go >= 1.25
  • The module declares go 1.24.0 in go.mod, so CI fails with GOTOOLCHAIN=local
  • Pins goimports to v0.42.0, the last release compatible with Go 1.24

Test plan

  • CI make fmt step passes without the go >= 1.25.0 error

🤖 Generated with Claude Code

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.12%. Comparing base (a54a820) to head (31cd481).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #127   +/-   ##
=======================================
  Coverage   85.12%   85.12%           
=======================================
  Files         149      149           
  Lines       13095    13095           
=======================================
  Hits        11147    11147           
  Misses       1631     1631           
  Partials      317      317           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

golang.org/x/tools v0.43.0 requires Go >= 1.25; pinning to v0.42.0
keeps the toolchain compatible with the go 1.24 requirement in go.mod.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Andrea Frittoli <andrea.frittoli@uk.ibm.com>
@afrittoli afrittoli force-pushed the worktree-fix-goimports-pin branch from 2cae214 to 31cd481 Compare April 8, 2026 14:13
@afrittoli afrittoli added this pull request to the merge queue Apr 8, 2026
Merged via the queue into main with commit bac645e Apr 8, 2026
8 checks passed
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