Skip to content

Commit c64d1d9

Browse files
committed
go.mod: bump Go toolchain version to v1.22.0
As of Go 1.21, toolchain versions must use the 1.N.P syntax. Moreover, since Go 1.21 is no longer maintained, bump to Go 1.22 with the new syntax. Signed-off-by: Mikko Ylinen <[email protected]>
1 parent 8c52a84 commit c64d1d9

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/kuttl-int-tests.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ jobs:
1616
runs-on: ubuntu-20.04
1717
steps:
1818

19-
- uses: actions/setup-go@v2.1.4
19+
- uses: actions/setup-go@v5
2020
with:
21-
go-version: 1.21
21+
go-version-file: go.mod
22+
check-latest: true
2223

23-
- uses: actions/checkout@v2.4.0
24+
- uses: actions/checkout@v4
2425

2526
- name: Install dependencies
2627
run: |
@@ -30,4 +31,4 @@ jobs:
3031
sudo chmod +x kind
3132
3233
- name: "Run integration tests"
33-
run: make test-e2e
34+
run: make test-e2e

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM docker.io/golang:1.21 as builder
2+
FROM docker.io/golang:1.22 as builder
33
ARG TARGETOS
44
ARG TARGETARCH
55

go.mod

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

3-
go 1.21
3+
go 1.22.0
44

55
require (
66
github.com/go-logr/logr v1.4.1

0 commit comments

Comments
 (0)