From af3d0006e35009f30161ec47c20654a877ef6385 Mon Sep 17 00:00:00 2001 From: Achilleas Koutsou Date: Fri, 27 Sep 2024 15:43:24 +0200 Subject: [PATCH] go.mod: use go 1.22.0 Update all places that specify the go version. --- .github/workflows/gitlab-helper.yml | 4 ++-- .github/workflows/test-osbuild-composer-intergation.yml | 4 ++-- .github/workflows/tests.yml | 8 ++++---- go.mod | 4 ++-- tools/prepare-source.sh | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/gitlab-helper.yml b/.github/workflows/gitlab-helper.yml index a57c8657f2..1a69d1332e 100644 --- a/.github/workflows/gitlab-helper.yml +++ b/.github/workflows/gitlab-helper.yml @@ -18,10 +18,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.21 + - name: Set up Go 1.22 uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version: "1.22" id: go - name: Check out code into the Go module directory diff --git a/.github/workflows/test-osbuild-composer-intergation.yml b/.github/workflows/test-osbuild-composer-intergation.yml index 703cd66ad9..710f682226 100644 --- a/.github/workflows/test-osbuild-composer-intergation.yml +++ b/.github/workflows/test-osbuild-composer-intergation.yml @@ -50,10 +50,10 @@ jobs: name: "⌨ osbuild-composer Golang Lint" runs-on: ubuntu-latest steps: - - name: Set up Go 1.21 + - name: Set up Go 1.22 uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version: "1.22" id: go - name: Check out osbuild-composer main branch diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5d965fef0e..233ebca781 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -60,10 +60,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.21 + - name: Set up Go 1.22 uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version: "1.22" id: go - name: Check out code into the Go module directory @@ -130,10 +130,10 @@ jobs: name: "⌨ Lint" runs-on: ubuntu-latest steps: - - name: Set up Go 1.21 + - name: Set up Go 1.22 uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version: "1.22" id: go - name: Check out code into the Go module directory diff --git a/go.mod b/go.mod index 7b607a0c89..4082caa70e 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ module github.com/osbuild/images -go 1.21.0 +go 1.22.0 -toolchain go1.22.5 +toolchain go1.23.1 require ( cloud.google.com/go/compute v1.28.0 diff --git a/tools/prepare-source.sh b/tools/prepare-source.sh index 3758f148d5..9df72b1655 100755 --- a/tools/prepare-source.sh +++ b/tools/prepare-source.sh @@ -2,7 +2,7 @@ set -eux -GO_VERSION=1.21.11 +GO_VERSION=1.22.0 GO_BINARY=$(go env GOPATH)/bin/go$GO_VERSION # this is the official way to get a different version of golang