Skip to content

Commit

Permalink
go.mod: bump Go toolchain version to v1.22.0
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
mythi committed Nov 26, 2024
1 parent 8c52a84 commit c64d1d9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/kuttl-int-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ jobs:
runs-on: ubuntu-20.04
steps:

- uses: actions/setup-go@v2.1.4
- uses: actions/setup-go@v5
with:
go-version: 1.21
go-version-file: go.mod
check-latest: true

- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4

- name: Install dependencies
run: |
Expand All @@ -30,4 +31,4 @@ jobs:
sudo chmod +x kind
- name: "Run integration tests"
run: make test-e2e
run: make test-e2e
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM docker.io/golang:1.21 as builder
FROM docker.io/golang:1.22 as builder
ARG TARGETOS
ARG TARGETARCH

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/confidential-containers/trustee-operator

go 1.21
go 1.22.0

require (
github.com/go-logr/logr v1.4.1
Expand Down

0 comments on commit c64d1d9

Please sign in to comment.