.github: update Go version 1.15

Update the default Go version to 1.15.
This commit is contained in:
Dongsu Park 2020-08-28 13:10:18 +02:00
parent c174819731
commit 18f00becb5

View File

@ -13,7 +13,7 @@ jobs:
- name: Fetch latest Go release - name: Fetch latest Go release
id: fetch-latest-release id: fetch-latest-release
env: env:
GO_VERSION: 1.13 GO_VERSION: 1.15
run: | run: |
git clone --depth=1 --no-checkout https://github.com/golang/go 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) 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)