Skip to content

Commit 684ee48

Browse files
committed
Bump to Go 1.22
The oldest supported branch of k/k is 1.31, which uses Go 1.22. Signed-off-by: Stephen Kitt <skitt@redhat.com>
1 parent 0af2bda commit 684ee48

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
build:
55
strategy:
66
matrix:
7-
go-version: [1.20.x, 1.21.x]
7+
go-version: [1.22.x, 1.25.x]
88
platform: [windows-latest]
99
runs-on: ${{ matrix.platform }}
1010
steps:
@@ -24,7 +24,7 @@ jobs:
2424
test:
2525
strategy:
2626
matrix:
27-
go-version: [1.20.x, 1.21.x]
27+
go-version: [1.22.x, 1.25.x]
2828
platform: [ubuntu-latest, macos-latest]
2929
runs-on: ${{ matrix.platform }}
3030
steps:
@@ -40,7 +40,7 @@ jobs:
4040
verify-go-directive:
4141
strategy:
4242
matrix:
43-
go-version: [1.20.x, 1.21.x]
43+
go-version: [1.22.x, 1.25.x]
4444
platform: [ubuntu-latest, macos-latest]
4545
runs-on: ${{ matrix.platform }}
4646
steps:
@@ -72,7 +72,7 @@ jobs:
7272
- name: Install Go
7373
uses: actions/setup-go@v3
7474
with:
75-
go-version: 1.21.x
75+
go-version: 1.22.x
7676
- name: Add GOBIN to PATH
7777
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
7878
- name: Install dependencies

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module k8s.io/utils
22

3-
go 1.18
3+
go 1.22
44

55
require (
66
github.com/davecgh/go-spew v1.1.1

0 commit comments

Comments
 (0)