Use GitHub releases to download Go versions. (#58)

This commit is contained in:
Dmitry Shibanov
2020-06-29 18:41:13 +03:00
committed by GitHub
parent 0f551ac199
commit 1616116e1b
10 changed files with 4156 additions and 9837 deletions

14
__tests__/verify-go.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
if [ -z "$1" ]; then
echo "Must supply go version argument"
exit 1
fi
go_version="$(go version)"
echo "Found go version '$go_version'"
if [ -z "$(echo $go_version | grep $1)" ]; then
echo "Unexpected version"
exit 1
fi