From 0eb774724102e7fc7a01ed0b3b1664334adc06eb Mon Sep 17 00:00:00 2001 From: francisco souza <108725+fsouza@users.noreply.github.com> Date: Wed, 20 Dec 2023 00:46:35 -0500 Subject: [PATCH] Use Go 1.22 --- .github/workflows/goreleaser-run.yml | 2 +- .github/workflows/goreleaser-test.yml | 2 +- .github/workflows/ko-build.yml | 2 +- .github/workflows/ko-test.yaml | 2 +- .github/workflows/main.yml | 4 ++-- go.mod | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/goreleaser-run.yml b/.github/workflows/goreleaser-run.yml index 75120f8..c63d453 100644 --- a/.github/workflows/goreleaser-run.yml +++ b/.github/workflows/goreleaser-run.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/setup-go@v5.0.0 with: - go-version: "1.21" + go-version: "1.22.0-rc1" - uses: goreleaser/goreleaser-action@v5.0.0 env: diff --git a/.github/workflows/goreleaser-test.yml b/.github/workflows/goreleaser-test.yml index be7847c..bb15366 100644 --- a/.github/workflows/goreleaser-test.yml +++ b/.github/workflows/goreleaser-test.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/setup-go@v5.0.0 with: - go-version: "1.21" + go-version: "1.22.0-rc1" - uses: goreleaser/goreleaser-action@v5.0.0 with: diff --git a/.github/workflows/ko-build.yml b/.github/workflows/ko-build.yml index 1bcaed5..6b80662 100644 --- a/.github/workflows/ko-build.yml +++ b/.github/workflows/ko-build.yml @@ -34,7 +34,7 @@ jobs: - uses: actions/setup-go@v5.0.0 id: setup-go with: - go-version: "1.21" + go-version: "1.22.0-rc1" - uses: ko-build/setup-ko@v0.6 diff --git a/.github/workflows/ko-test.yaml b/.github/workflows/ko-test.yaml index bf388fb..8d967c7 100644 --- a/.github/workflows/ko-test.yaml +++ b/.github/workflows/ko-test.yaml @@ -26,7 +26,7 @@ jobs: - uses: actions/setup-go@v5.0.0 id: setup-go with: - go-version: "1.21" + go-version: "1.22.0-rc1" - uses: ko-build/setup-ko@v0.6 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index efbd75b..b7a264c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-go@v5.0.0 with: - go-version: "1.21" + go-version: "1.22rc1" - name: run-tests run: go test -race -vet all ./... @@ -31,7 +31,7 @@ jobs: - uses: actions/setup-go@v5.0.0 id: setup-go with: - go-version: "1.21" + go-version: "1.22rc1" - run: | go install honnef.co/go/tools/cmd/staticcheck@master diff --git a/go.mod b/go.mod index 2e4cf09..33ae5fc 100644 --- a/go.mod +++ b/go.mod @@ -10,6 +10,6 @@ require ( github.com/jmespath/go-jmespath v0.4.0 // indirect ) -go 1.21 +go 1.22 -toolchain go1.21.0 +toolchain go1.22-rc1