From 78ef2470429d54f16248a12185d8ba13b443d9ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Fri, 2 Jul 2021 10:33:39 +0200 Subject: [PATCH] bump minimum go version to 1.15 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The oldest distributions that we now support are RHEL 8.4 and Fedora 33. They both support go 1.15, let's bump. Signed-off-by: Ondřej Budai --- .github/workflows/tests.yml | 4 ++-- README.md | 2 +- go.mod | 2 +- tools/prepare-source.sh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a64051798..96af8f299 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,10 +16,10 @@ jobs: runs-on: ubuntu-20.04 steps: - - name: Set up Go 1.14 + - name: Set up Go 1.15 uses: actions/setup-go@v1 with: - go-version: 1.14 + go-version: 1.15 id: go - name: Check out code into the Go module directory diff --git a/README.md b/README.md index 7eca40b68..58fedf1f9 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ The requirements for this project are: At build-time, the following software is required: - * `go >= 1.14` + * `go >= 1.15` * `python-docutils >= 0.13` ### Build diff --git a/go.mod b/go.mod index 8f2aa412f..efa80f426 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/osbuild/osbuild-composer -go 1.14 +go 1.15 require ( cloud.google.com/go v0.75.0 diff --git a/tools/prepare-source.sh b/tools/prepare-source.sh index 547c91891..ea89a520b 100755 --- a/tools/prepare-source.sh +++ b/tools/prepare-source.sh @@ -2,7 +2,7 @@ set -eux -GO_VERSION=1.14.14 +GO_VERSION=1.15.13 GO_BINARY=$(go env GOPATH)/bin/go$GO_VERSION # this is the official way to get a different version of golang