Skip to content

Update golang to 1.25 and also update linter#1515

Merged
nodece merged 1 commit into
apache:masterfrom
kellyfj:golang-1.25
Jun 22, 2026
Merged

Update golang to 1.25 and also update linter#1515
nodece merged 1 commit into
apache:masterfrom
kellyfj:golang-1.25

Conversation

@kellyfj

@kellyfj kellyfj commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

Motivation

Modifications

  • bump Go version from 1.24 to 1.25 in go.mod, Makefile, and CI matrices
  • upgrade golangci-lint to v2.12.2 and fix Makefile install path to /v2 module
  • migrate golangci config to v2 format and disable noisy govet inline analyzer
  • update GitHub Action to golangci-lint-action v9.2.1 (pinned SHA) and pin linter version
  • fix lint findings across codebase (prealloc, revive naming/flow, ineffassign)
  • verify lint passes: make lint reports 0 issues

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): No
  • The public API: no
  • The schema: no
  • The default values of configurations: no
  • The wire protocol: no

Documentation

  • Does this pull request introduce a new feature? no

@nodece nodece merged commit 84a5b07 into apache:master Jun 22, 2026
7 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.

2 participants