From 22b927d5ad9affbdf405505973f4e178884edb1c Mon Sep 17 00:00:00 2001 From: Angel Misevski Date: Fri, 17 Nov 2023 12:19:29 -0500 Subject: [PATCH] Update project to use Go 1.20 Signed-off-by: Angel Misevski --- .ci/oci.Dockerfile | 2 +- .github/workflows/code-coverage.yml | 2 +- .github/workflows/pr.yml | 2 +- .github/workflows/release.yml | 2 +- go.mod | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.ci/oci.Dockerfile b/.ci/oci.Dockerfile index 295e29e8a..a2f48bc9a 100644 --- a/.ci/oci.Dockerfile +++ b/.ci/oci.Dockerfile @@ -13,7 +13,7 @@ # limitations under the License. # -FROM registry.ci.openshift.org/openshift/release:golang-1.19 +FROM registry.ci.openshift.org/openshift/release:golang-1.20 SHELL ["/bin/bash", "-c"] diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml index ee1b56e18..ed52f5521 100644 --- a/.github/workflows/code-coverage.yml +++ b/.github/workflows/code-coverage.yml @@ -14,7 +14,7 @@ jobs: name: Set up Go 1.x uses: actions/setup-go@v4 with: - go-version: 1.19.10 + go-version: 1.20.10 - name: Set up Python 3.11 uses: actions/setup-python@v4 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index f45a4d6a4..5da7d6e8f 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -15,7 +15,7 @@ jobs: name: Set up Go 1.x uses: actions/setup-go@v4 with: - go-version: 1.19.10 + go-version: 1.20.10 - name: Set up Python 3.11 uses: actions/setup-python@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 627e67ec4..d783553bf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v4 with: - go-version: 1.19.10 + go-version: 1.20.10 - name: Clone source code uses: actions/checkout@v3 diff --git a/go.mod b/go.mod index 52189270f..dcc4b0bfb 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/devfile/devworkspace-operator -go 1.19 +go 1.20 require ( github.com/devfile/api/v2 v2.2.2