feat: update foascli to go 1.26.0#1165
Conversation
Co-authored-by: Andrea Angiolillo <andreaangiolillo@users.noreply.github.com>
|
Cursor Agent can help with this pull request. Just |
|
@cursoragent fix all the errors in lint |
SummaryI've successfully fixed all linting errors reported by golangci-lint v2.10.1. Here's what was addressed: Lint Fixes Implemented:
Verification:
The PR now has both commits on the branch and all lint errors are resolved. |
Co-authored-by: Andrea Angiolillo <andreaangiolillo@users.noreply.github.com>


Proposed changes
Upgrades the Go version across the
mongodb/openapirepository from 1.24.0 to 1.26.0. This includes updating:tools/cli/go.modandtools/.tool-versions.golangci-lintversion intools/cli/Makefileand.github/workflows/code-health-foascli.ymlto v2.10.1 to ensure compatibility with Go 1.26.Jira ticket: CLOUDP-386719
Closes #
Checklist
Changes to Spectral
Further comments
The
golangci-lintversion was updated from v2.1.0 to v2.10.1 as the older version does not support Go 1.26. The new version ensures that linting continues to function correctly with the upgraded Go environment. All CLI builds and unit tests passed successfully with Go 1.26.0.