Skip to content

Commit 0a47979

Browse files
authored
global: update to Go 1.25.0 (#1107)
Related-to: rh-ecosystem-edge/eco-gotests#746 This PR updates Go to 1.25.0 and takes a new approach of separating the go and toolchain directives. This allows us to express compatibility with all go1.25 versions while specifying a more exact one to build with. Similarly, golangci-lint has been updated to 2.4.0 for Go 1.25 support.
1 parent 9666a0e commit 0a47979

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module github.com/rh-ecosystem-edge/eco-goinfra
22

3-
go 1.24.5
3+
go 1.25
4+
5+
toolchain go1.25.0
46

57
require (
68
github.com/Masterminds/semver/v3 v3.4.0

scripts/golangci-lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44

55
. "$(dirname "$0")"/common.sh
66

7-
GOLANGCI_LINT_VERSION="2.2.2"
7+
GOLANGCI_LINT_VERSION="2.4.0"
88

99
# IsGoLangCiLintInstalled is used to check whether golangci-lint executable is on the $PATH.
1010
function IsGolangCiLintInstalled() {

0 commit comments

Comments
 (0)