Skip to content

Commit ba1e271

Browse files
authored
Update Go (#708)
* Update latest Go to 1.24. * Update minimum Go to 1.23. * Bump Go modules. Signed-off-by: SuperQ <[email protected]>
1 parent 0289c96 commit ba1e271

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

.circleci/config.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version: 2.1
44
jobs:
55
lint:
66
docker:
7-
- image: cimg/go:1.23
7+
- image: cimg/go:1.24
88
steps:
99
- checkout
1010
- run: make check_license
@@ -46,16 +46,14 @@ workflows:
4646
matrix:
4747
parameters:
4848
go_version:
49-
- "1.21"
50-
- "1.22"
5149
- "1.23"
50+
- "1.24"
5251
- test:
5352
name: test-windows
5453
os: windows
5554
run_test: false
5655
matrix:
5756
parameters:
5857
go_version:
59-
- "1.21"
60-
- "1.22"
6158
- "1.23"
59+
- "1.24"

go.mod

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
module github.com/prometheus/procfs
22

3-
go 1.21
3+
go 1.23.0
44

55
require (
66
github.com/google/go-cmp v0.7.0
7-
golang.org/x/sync v0.11.0
8-
golang.org/x/sys v0.30.0
7+
golang.org/x/sync v0.12.0
8+
golang.org/x/sys v0.31.0
99
)

go.sum

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
22
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
3-
golang.org/x/sync v0.11.0 h1:GGz8+XQP4FvTTrjZPzNKTMFtSXH80RAzG+5ghFPgK9w=
4-
golang.org/x/sync v0.11.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
5-
golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc=
6-
golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
3+
golang.org/x/sync v0.12.0 h1:MHc5BpPuC30uJk597Ri8TV3CNZcTLu6B6z4lJy+g6Jw=
4+
golang.org/x/sync v0.12.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
5+
golang.org/x/sys v0.31.0 h1:ioabZlmFYtWhL+TRYpcnNlLwhyxaM9kWTDEmfnprqik=
6+
golang.org/x/sys v0.31.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=

0 commit comments

Comments
 (0)