Skip to content

chore: align go.mod go version#1257

Closed
joaoestrela wants to merge 1 commit intoprometheus-community:masterfrom
joaoestrela:master
Closed

chore: align go.mod go version#1257
joaoestrela wants to merge 1 commit intoprometheus-community:masterfrom
joaoestrela:master

Conversation

@joaoestrela
Copy link

Summary

Update the Go version in go.mod from 1.24.0 to 1.25 to align with the CI build configuration.

Motivation

The CI workflows (.github/workflows/ci.yml, .github/workflows/golangci-lint.yml) and build configuration (.promu.yml) already use Go 1.25, but go.mod was still specifying Go 1.24.0. This PR fixes the inconsistency.

Changes

  • Updated go.mod Go directive from 1.24.0 to 1.25

Testing

  • go mod tidy runs without issues
  • All unit tests pass

Signed-off-by: Joāo Estrela <joao.estrela@coralogix.com>
@SuperQ
Copy link
Contributor

SuperQ commented Feb 3, 2026

This is not correct. The go directive in the go.mod file is the minimum required version to build based on Go compiler API compatibility.

Since Go 1.24 is still supported by upstream Go, we continue to support building with Go >= 1.24.0.

@SuperQ SuperQ closed this Feb 3, 2026
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