From 8ab974edb4c3f34308b3ae4a14ecc97a838b1e02 Mon Sep 17 00:00:00 2001 From: Sayan Chowdhury Date: Fri, 9 Apr 2021 17:14:47 +0530 Subject: [PATCH] .github: Bump Golang version to 1.16 for Github Actions Signed-off-by: Sayan Chowdhury --- .../coreos-overlay/.github/workflows/go-apply-patch.sh | 4 ++-- .../coreos-overlay/.github/workflows/go-releases-main.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk_container/src/third_party/coreos-overlay/.github/workflows/go-apply-patch.sh b/sdk_container/src/third_party/coreos-overlay/.github/workflows/go-apply-patch.sh index 78661cc8a7..8e958353c5 100755 --- a/sdk_container/src/third_party/coreos-overlay/.github/workflows/go-apply-patch.sh +++ b/sdk_container/src/third_party/coreos-overlay/.github/workflows/go-apply-patch.sh @@ -16,8 +16,8 @@ fi pushd "${SDK_OUTER_SRCDIR}/third_party/coreos-overlay" >/dev/null || exit # Parse the Manifest file for already present source files and keep the latest version in the current series -# DIST go1.15.src.tar.gz ... => 1.15 -# DIST go1.15.3.src.tar.gz ... => 1.15.3 +# DIST go1.16.src.tar.gz ... => 1.16 +# DIST go1.16.3.src.tar.gz ... => 1.16.3 VERSION_OLD=$(sed -n "s/^DIST go\(${VERSION_SHORT}\.*[0-9]*\)\.src.*/\1/p" dev-lang/go/Manifest | sort -ruV | head -n1) if [[ "${VERSION_NEW}" = "${VERSION_OLD}" ]]; then echo "already the latest Go, nothing to do" diff --git a/sdk_container/src/third_party/coreos-overlay/.github/workflows/go-releases-main.yml b/sdk_container/src/third_party/coreos-overlay/.github/workflows/go-releases-main.yml index ba5a6bdeb3..8891000d47 100644 --- a/sdk_container/src/third_party/coreos-overlay/.github/workflows/go-releases-main.yml +++ b/sdk_container/src/third_party/coreos-overlay/.github/workflows/go-releases-main.yml @@ -13,7 +13,7 @@ jobs: - name: Fetch latest Go release id: fetch-latest-release env: - GO_VERSION: "1.15" + GO_VERSION: "1.16" run: | git clone --depth=1 --no-checkout https://github.com/golang/go versionMain=$(git -C go ls-remote --tags origin | cut -f2 | sed -n "/refs\/tags\/go${GO_VERSION}\.[0-9]*$/s/^refs\/tags\/go//p" | egrep -v -e '(beta|rc)' | sort -ruV | head -1)