From 5e6e77b56582d4bd2f2caf9cdd91a396fc55c2df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Wed, 19 Aug 2020 11:21:38 +0200 Subject: [PATCH] bump minimal Go version to 1.13 All our downstream platforms now support Go 1.13: RHEL 8.2: golang-1.13.4 Fedora 31: golang-1.13.14 There's no reason anymore to stay on 1.12, therefore this commit bumps the minimal required Go version to 1.13 --- .github/workflows/tests.yml | 8 ++++---- README.md | 2 +- go.mod | 2 +- tools/prepare-source.sh | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9632dd47d..fb89c625c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,10 +16,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.12 + - name: Set up Go 1.13 uses: actions/setup-go@v1 with: - go-version: 1.12 + go-version: 1.13 id: go - name: Check out code into the Go module directory @@ -69,10 +69,10 @@ jobs: ports: - 8080:80 steps: - - name: Set up Go 1.12 + - name: Set up Go 1.13 uses: actions/setup-go@v1 with: - go-version: 1.12 + go-version: 1.13 id: go # We need python for koji client. diff --git a/README.md b/README.md index c78727abc..68f365caf 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ The requirements for this project are: At build-time, the following software is required: - * `go >= 1.12` + * `go >= 1.13` * `python-docutils >= 0.13` ### Build diff --git a/go.mod b/go.mod index c87978a8c..76154fed1 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/osbuild/osbuild-composer -go 1.12 +go 1.13 require ( github.com/Azure/azure-sdk-for-go v41.3.0+incompatible diff --git a/tools/prepare-source.sh b/tools/prepare-source.sh index b7a8c1550..21b3815b0 100755 --- a/tools/prepare-source.sh +++ b/tools/prepare-source.sh @@ -2,7 +2,7 @@ set -eux -GO_VERSION=1.12.17 +GO_VERSION=1.13.15 GO_BINARY=$(go env GOPATH)/bin/go$GO_VERSION # this is the official way to get a different version of golang