Skip to content

Conversation

@james00012
Copy link
Contributor

@james00012 james00012 commented Dec 6, 2025

Summary

Fixes golangci-lint typecheck failures where dependencies like smithy, multierror, cli, and yaml are reported as undefined.

Root cause: go.mod requires Go 1.24.0, but CI was using Go 1.22.6, .golangci.yml specified Go 1.23, and golangci-lint v1.61.0 doesn't support Go 1.24.

Changes:

  • Install Go 1.24.0 in lint job using go/install orb
  • Upgrade golangci-lint from v1.61.0 to v1.64.8 (supports Go 1.24)
  • Update .golangci.yml to use Go 1.24
  • Add git fetch origin master for --new-from-rev comparison

Test plan

  • Verify lint job passes in CI

@james00012 james00012 requested a review from denis256 as a code owner December 6, 2025 15:05
@james00012 james00012 force-pushed the fix-golangci-lint-typecheck branch 7 times, most recently from b72fb40 to d71fb99 Compare December 6, 2025 15:54
- Add git fetch origin master to ensure ref is available for --new-from-rev
- Add go build ./... to populate build cache for typecheck linter
- Change modules-download-mode from readonly to mod
@james00012 james00012 force-pushed the fix-golangci-lint-typecheck branch from d71fb99 to b373fd1 Compare December 6, 2025 15:56
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