Skip to content

Commit 447da4d

Browse files
authored
Bump required go version to 1.23 (#229)
1.22 introduced `range n` loops, which seem nice. Bump to 1.23, which is one behind oldstable (the oldest we claim to support). https://go.dev/doc/go1.22 https://go.dev/doc/go1.23
1 parent 1829ac8 commit 447da4d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
matrix:
2121
# Test on supported go compiler releases as well as the oldest version we support from go.mod.
22-
go: [ '1.21', 'oldstable', 'stable' ]
22+
go: [ '1.23', 'oldstable', 'stable' ]
2323
name: Go version ${{ matrix.go }}
2424
steps:
2525
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/golang/geo
22

33
// This declares what language features we use and may be updated freely up to "oldstable".
44
// Update .github/workflows/go.yml when bumping this version.
5-
go 1.21.0
5+
go 1.23.0
66

77
require (
88
github.com/google/go-cmp v0.7.0 // indirect

0 commit comments

Comments
 (0)