Skip to content

Commit 1f3d244

Browse files
abhinavmvdan
authored andcommitted
all: Add Go 1.22, drop Go 1.20
Switches CI to run against Go 1.21 and 1.22, and bumps the minimum required Go version to 1.21. Dropping 1.20 isn't strictly necessary; this is just matching prior upgrades. It can be added back if the maintainers prefer.
1 parent c8567cf commit 1f3d244

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
go-version:
15-
- '1.20.x'
1615
- '1.21.x'
16+
- '1.22.x'
1717
os:
1818
- ubuntu-latest
1919
- macos-latest
@@ -33,7 +33,7 @@ jobs:
3333
go test -race ./...
3434
3535
- name: Tidy
36-
if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.21.x' # no need to do this everywhere
36+
if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.22.x' # no need to do this everywhere
3737
run: |
3838
go mod tidy
3939

go.mod

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

3-
go 1.20
3+
go 1.21
44

55
require (
66
golang.org/x/mod v0.9.0

0 commit comments

Comments
 (0)