Skip to content

chore(ci): update Go matrix to 1.25/1.26 and staticcheck to v0.7.0 - #348

Merged
jdstrand-dontuse merged 1 commit into
influxdata:mainfrom
skartikey:ci/go-1.25-matrix-staticcheck
Jul 16, 2026
Merged

chore(ci): update Go matrix to 1.25/1.26 and staticcheck to v0.7.0#348
jdstrand-dontuse merged 1 commit into
influxdata:mainfrom
skartikey:ci/go-1.25-matrix-staticcheck

Conversation

@skartikey

@skartikey skartikey commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

The dependabot PRs (#342-#345, #347) bump x/net v0.55.0 / x/crypto v0.52.0, which require Go >= 1.25, so they also raise the modules' go directive to 1.25.0. CI still runs Go 1.23/1.24, so staticcheck v0.6.1 fails ("module requires at least go1.25.0") and tests-integration can't load the locally replaced sibling modules on the older toolchain.

Changes:

  • CI matrix: Go 1.23/1.24 -> 1.25/1.26
  • staticcheck: v0.6.1 -> v0.7.0 (here and in run-checks.sh)
  • build-otelcol-influxdb job: Go 1.23 -> 1.25

Once merged, the dependabot PRs just need a rebase.

Dependabot bumps of golang.org/x/net v0.55.0 and golang.org/x/crypto
v0.52.0 raise the modules' go directive to 1.25.0, which the current
CI matrix (Go 1.23/1.24) cannot handle: staticcheck v0.6.1 refuses
modules requiring go1.25, and the tests-integration job fails to load
locally replaced sibling modules on the older toolchain.

Go 1.23 and 1.24 are no longer supported upstream, so move the matrix
to 1.25/1.26 and pin staticcheck v0.7.0 (2026.1), which supports them.
Align the stale staticcheck pin in run-checks.sh as well.
@skartikey
skartikey requested review from a team as code owners July 16, 2026 19:09
@skartikey
skartikey requested a review from helenosheaa July 16, 2026 19:09
@jdstrand-dontuse
jdstrand-dontuse merged commit 2ec8cdf into influxdata:main Jul 16, 2026
13 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