Skip to content

Commit dafc28c

Browse files
authored
GODRIVER-3592 Use Go 1.25 in Evergreen CI. (#2216)
1 parent 22f9f46 commit dafc28c

File tree

4 files changed

+31
-30
lines changed

4 files changed

+31
-30
lines changed

.evergreen/config.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1764,7 +1764,7 @@ axes:
17641764
- windows-vsCurrent-small
17651765
variables:
17661766
GCC_PATH: "/cygdrive/c/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin"
1767-
GO_DIST: "C:\\golang\\go1.23"
1767+
GO_DIST: "C:\\golang\\go1.25"
17681768
VENV_BIN_DIR: "Scripts"
17691769
DEFAULT_TASK: evg-test
17701770
# CSOT tests are unreliable on our slow Windows hosts.
@@ -1773,14 +1773,14 @@ axes:
17731773
display_name: "RHEL 8.7"
17741774
run_on: rhel8.7-large
17751775
variables:
1776-
GO_DIST: "/opt/golang/go1.23"
1776+
GO_DIST: "/opt/golang/go1.25"
17771777
DEFAULT_TASK: evg-test
17781778
- id: "macos"
17791779
display_name: "MacOS 14.0"
17801780
run_on: macos-14
17811781
batchtime: 1440 # Run at most once per 24 hours.
17821782
variables:
1783-
GO_DIST: "/opt/golang/go1.23"
1783+
GO_DIST: "/opt/golang/go1.25"
17841784
DEFAULT_TASK: evg-test-load-balancers
17851785
# CSOT tests are unreliable on our slow macOS hosts.
17861786
SKIP_CSOT_TESTS: true
@@ -1795,7 +1795,7 @@ axes:
17951795
- windows-vsCurrent-small
17961796
variables:
17971797
GCC_PATH: "/cygdrive/c/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin"
1798-
GO_DIST: "C:\\golang\\go1.23"
1798+
GO_DIST: "C:\\golang\\go1.25"
17991799
VENV_BIN_DIR: "Scripts"
18001800
DEFAULT_TASK: evg-test
18011801
# CSOT tests are unreliable on our slow Windows hosts.
@@ -1804,14 +1804,14 @@ axes:
18041804
display_name: "RHEL 8.7"
18051805
run_on: rhel8.7-large
18061806
variables:
1807-
GO_DIST: "/opt/golang/go1.23"
1807+
GO_DIST: "/opt/golang/go1.25"
18081808
DEFAULT_TASK: evg-test
18091809
- id: "macos"
18101810
display_name: "MacOS 14.0"
18111811
run_on: macos-14
18121812
batchtime: 1440 # Run at most once per 24 hours.
18131813
variables:
1814-
GO_DIST: "/opt/golang/go1.23"
1814+
GO_DIST: "/opt/golang/go1.25"
18151815
DEFAULT_TASK: evg-test-load-balancers
18161816
# CSOT tests are unreliable on our slow macOS hosts.
18171817
SKIP_CSOT_TESTS: true
@@ -1823,7 +1823,7 @@ axes:
18231823
display_name: "RHEL 8.7"
18241824
run_on: rhel8.7-large
18251825
variables:
1826-
GO_DIST: "/opt/golang/go1.23"
1826+
GO_DIST: "/opt/golang/go1.25"
18271827
DEFAULT_TASK: evg-test
18281828

18291829
- id: os-aws-auth
@@ -1835,7 +1835,7 @@ axes:
18351835
- windows-vsCurrent-small
18361836
variables:
18371837
GCC_PATH: "/cygdrive/c/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin"
1838-
GO_DIST: "C:\\golang\\go1.23"
1838+
GO_DIST: "C:\\golang\\go1.25"
18391839
SKIP_ECS_AUTH_TEST: true
18401840
DEFAULT_TASK: evg-test
18411841
# CSOT tests are unreliable on our slow Windows hosts.
@@ -1844,14 +1844,14 @@ axes:
18441844
display_name: "Ubuntu 20.04"
18451845
run_on: ubuntu2004-test
18461846
variables:
1847-
GO_DIST: "/opt/golang/go1.23"
1847+
GO_DIST: "/opt/golang/go1.25"
18481848
DEFAULT_TASK: evg-test
18491849
- id: "macos"
18501850
display_name: "MacOS 14.0"
18511851
run_on: macos-14
18521852
batchtime: 1440 # Run at most once per 24 hours.
18531853
variables:
1854-
GO_DIST: "/opt/golang/go1.23"
1854+
GO_DIST: "/opt/golang/go1.25"
18551855
SKIP_ECS_AUTH_TEST: true
18561856
SKIP_EC2_AUTH_TEST: true
18571857
SKIP_WEB_IDENTITY_AUTH_TEST: true
@@ -1866,7 +1866,7 @@ axes:
18661866
display_name: "RHEL 8.7"
18671867
run_on: rhel8.7-large
18681868
variables:
1869-
GO_DIST: "/opt/golang/go1.23"
1869+
GO_DIST: "/opt/golang/go1.25"
18701870

18711871
task_groups:
18721872
- name: testgcpkms_task_group
@@ -2098,7 +2098,7 @@ buildvariants:
20982098
- rhel8.7-small
20992099
expansions:
21002100
# Keep this in sync with go version used in etc/golangci-lint.sh
2101-
GO_DIST: "/opt/golang/go1.23"
2101+
GO_DIST: "/opt/golang/go1.25"
21022102
tasks:
21032103
- name: ".static-analysis"
21042104

@@ -2108,7 +2108,7 @@ buildvariants:
21082108
run_on:
21092109
- rhel8.7-small
21102110
expansions:
2111-
GO_DIST: "/opt/golang/go1.23"
2111+
GO_DIST: "/opt/golang/go1.25"
21122112
tasks:
21132113
- name: "pull-request-helpers"
21142114

@@ -2117,7 +2117,7 @@ buildvariants:
21172117
display_name: "Performance"
21182118
run_on: rhel90-dbx-perf-large
21192119
expansions:
2120-
GO_DIST: "/opt/golang/go1.23"
2120+
GO_DIST: "/opt/golang/go1.25"
21212121
tasks:
21222122
- name: ".performance"
21232123

@@ -2127,7 +2127,7 @@ buildvariants:
21272127
run_on:
21282128
- ubuntu2204-small
21292129
expansions:
2130-
GO_DIST: "/opt/golang/go1.23"
2130+
GO_DIST: "/opt/golang/go1.25"
21312131
tasks:
21322132
- name: ".compile-check"
21332133

@@ -2136,7 +2136,7 @@ buildvariants:
21362136
run_on:
21372137
- rhel8.7-small
21382138
expansions:
2139-
GO_DIST: "/opt/golang/go1.23"
2139+
GO_DIST: "/opt/golang/go1.25"
21402140
tasks:
21412141
- name: "backport-pr"
21422142

@@ -2146,7 +2146,7 @@ buildvariants:
21462146
run_on:
21472147
- rhel8.7-large
21482148
expansions:
2149-
GO_DIST: "/opt/golang/go1.23"
2149+
GO_DIST: "/opt/golang/go1.25"
21502150
tasks:
21512151
- name: "atlas-test"
21522152

@@ -2156,7 +2156,7 @@ buildvariants:
21562156
run_on:
21572157
- ubuntu2204-large
21582158
expansions:
2159-
GO_DIST: "/opt/golang/go1.23"
2159+
GO_DIST: "/opt/golang/go1.25"
21602160
tasks:
21612161
- name: "test-docker-runner"
21622162

@@ -2166,7 +2166,7 @@ buildvariants:
21662166
run_on:
21672167
- ubuntu2204-large
21682168
expansions:
2169-
GO_DIST: "/opt/golang/go1.23"
2169+
GO_DIST: "/opt/golang/go1.25"
21702170
tasks:
21712171
- name: ".goleak"
21722172

@@ -2313,7 +2313,7 @@ buildvariants:
23132313
run_on:
23142314
- rhel8.7-small
23152315
expansions:
2316-
GO_DIST: "/opt/golang/go1.23"
2316+
GO_DIST: "/opt/golang/go1.25"
23172317
tasks:
23182318
- name: testgcpkms_task_group
23192319
batchtime: 20160 # Use a batchtime of 14 days as suggested by the CSFLE test README
@@ -2324,7 +2324,7 @@ buildvariants:
23242324
run_on:
23252325
- rhel8.7-small
23262326
expansions:
2327-
GO_DIST: "/opt/golang/go1.23"
2327+
GO_DIST: "/opt/golang/go1.25"
23282328
tasks:
23292329
- testawskms-task
23302330
- testawskms-fail-task
@@ -2334,7 +2334,7 @@ buildvariants:
23342334
run_on:
23352335
- rhel8.7-small
23362336
expansions:
2337-
GO_DIST: "/opt/golang/go1.23"
2337+
GO_DIST: "/opt/golang/go1.25"
23382338
tasks:
23392339
- name: testazurekms_task_group
23402340
batchtime: 20160 # Use a batchtime of 14 days as suggested by the CSFLE test README
@@ -2345,7 +2345,7 @@ buildvariants:
23452345
run_on:
23462346
- ubuntu2204-small
23472347
expansions:
2348-
GO_DIST: "/opt/golang/go1.23"
2348+
GO_DIST: "/opt/golang/go1.25"
23492349
tasks:
23502350
- name: testoidc_task_group
23512351
- name: testazureoidc_task_group

go.work

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
go 1.23
1+
go 1.23.0
22

33
use (
44
.
@@ -8,5 +8,6 @@ use (
88
./internal/cmd/benchmark
99
./internal/cmd/compilecheck
1010
./internal/cmd/faas/awslambda/mongodb
11+
./internal/test/compilecheck
1112
./internal/test/goleak
1213
)

internal/cmd/compilecheck/go.work

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
go 1.19
2+
3+
use (
4+
.
5+
)

internal/test/compilecheck/compile_check_test.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,14 @@ import (
1919
"github.com/testcontainers/testcontainers-go"
2020
)
2121

22-
// TODO(GODRIVER-3515): This module cannot be included in the workspace since it
23-
// requires a version of klauspost/compress that is not compatible with the Go
24-
// Driver. Must use GOWORK=off to run this test.
25-
26-
// TODO(GODRIVER-3592): Add "1.25" to the list when Go 1.25 is released.
27-
// Estimated release date is August 2025.
2822
var versions = []string{
2923
"1.19",
3024
"1.20",
3125
"1.21",
3226
"1.22",
3327
"1.23",
3428
"1.24",
29+
"1.25",
3530
}
3631

3732
func TestCompileCheck(t *testing.T) {

0 commit comments

Comments
 (0)