Skip to content

Bump Go to 1.26.2 and upgrade tooling dependencies - #38

Merged
ericvmw merged 1 commit into
vmware-tanzu:mainfrom
Ankitasw:topic/as032626/go-bump
Jun 2, 2026
Merged

ericvmw merged 1 commit into
vmware-tanzu:mainfrom
Ankitasw:topic/as032626/go-bump

Conversation

@Ankitasw

@Ankitasw Ankitasw commented Jun 2, 2026

Copy link
Copy Markdown
  • Bump Go from 1.24.0 to 1.26.2 across root, hack/tools, hack/samples; remove toolchain directives
  • Align direct dependencies: k8s.io/* v0.33.0, controller-runtime v0.21.0, gomega v1.41.0
  • hack/samples: replace deprecated packages (json-patch v4→/v5, googleapis/gnostic→gnostic-models, google.golang.org/appengine removed)
  • Upgrade golangci-lint v1 → v2 (module path /v2, v2.12.2); migrate .golangci.yml to v2 config format: gofmt/goimports moved to formatters block, gosimple/stylecheck merged into staticcheck, exclusion rules moved to linters.exclusions
  • Fix goconst lint issues in test files (introduce constants for repeated string literals)

@Ankitasw
Ankitasw force-pushed the topic/as032626/go-bump branch from d42c4a3 to de6f87d Compare June 2, 2026 10:18
- Bump Go from 1.24.0 to 1.26.2 across root, hack/tools, hack/samples;
  remove toolchain directives
- Align direct dependencies: k8s.io/* v0.33.0, controller-runtime v0.21.0,
  gomega v1.41.0
- hack/samples: replace deprecated packages (json-patch v4→/v5,
  googleapis/gnostic→gnostic-models, google.golang.org/appengine removed)
- Upgrade golangci-lint v1 → v2 (module path /v2, v2.12.2); migrate
  .golangci.yml to v2 config format:
  gofmt/goimports moved to formatters block, gosimple/stylecheck merged
  into staticcheck, exclusion rules moved to linters.exclusions
- Fix goconst lint issues in test files (introduce constants for repeated
  string literals)
@Ankitasw
Ankitasw force-pushed the topic/as032626/go-bump branch from de6f87d to 90e35a2 Compare June 2, 2026 16:07

@ericvmw ericvmw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the update!

@ericvmw
ericvmw merged commit 9d4d8fd into vmware-tanzu:main Jun 2, 2026
4 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.

3 participants