Skip to content

Commit f64d9cf

Browse files
authored
Update Go and Windows versions. (#953)
Go 1.25 released, so switch to 1.24 and 1.25 as the two supported versions. Windows 2019 support is dropped by GitHub Actions, so switch to 2022.
1 parent 6e76a2b commit f64d9cf

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
go: ['1.23', '1.24', 'tip']
21+
go: ['1.24', '1.25', 'tip']
2222
# Supported macOS versions can be found in
2323
# https://github.com/actions/virtual-environments#available-environments.
2424
os: ['macos-13', 'macos-14']
@@ -62,10 +62,10 @@ jobs:
6262
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
6363
if: matrix.go == 'tip'
6464
with:
65-
# Bootstrapping go tip requires 1.22.6
65+
# Bootstrapping go tip requires 1.24
6666
# Include cache directives to allow proper caching. Without them, we
6767
# get setup-go "Restore cache failed" warnings.
68-
go-version: 1.22
68+
go-version: 1.24
6969
cache: true
7070
cache-dependency-path: '**/go.sum'
7171

@@ -114,7 +114,7 @@ jobs:
114114
strategy:
115115
fail-fast: false
116116
matrix:
117-
go: ['1.23', '1.24', 'tip']
117+
go: ['1.24', '1.25', 'tip']
118118
os: ['ubuntu-24.04', 'ubuntu-22.04']
119119
steps:
120120
- name: Checkout the repo
@@ -136,10 +136,10 @@ jobs:
136136
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
137137
if: matrix.go == 'tip'
138138
with:
139-
# Bootstrapping go tip requires 1.22.6
139+
# Bootstrapping go tip requires 1.24
140140
# Include cache directives to allow proper caching. Without them, we
141141
# get setup-go "Restore cache failed" warnings.
142-
go-version: 1.22
142+
go-version: 1.24
143143
cache: true
144144
cache-dependency-path: '**/go.sum'
145145

@@ -202,11 +202,11 @@ jobs:
202202
file: ${{ env.WORKING_DIR }}/coverage.txt
203203

204204
test-windows:
205-
runs-on: windows-2019
205+
runs-on: windows-2022
206206
strategy:
207207
fail-fast: false
208208
matrix:
209-
go: ['1.23', '1.24']
209+
go: ['1.24', '1.25']
210210
steps:
211211
- name: Checkout the repo
212212
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

browsertests/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/google/pprof/browsertests
22

3-
go 1.23.0
3+
go 1.24.0
44

55
// Use the version of pprof in this directory tree.
66
replace github.com/google/pprof => ../

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/google/pprof
22

3-
go 1.23.0
3+
go 1.24.0
44

55
require (
66
github.com/chzyer/readline v1.5.1

0 commit comments

Comments
 (0)