diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f8fbcd167..9d16ddd29 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,10 +14,10 @@ jobs: with: java-version: 1.8 - - name: Set up Go 1.13 + - name: Set up Go 1.16.7 uses: actions/setup-go@v1 with: - go-version: 1.13 + go-version: 1.16.7 - name: Cache (Gradle & Go Mod) uses: actions/cache@v2 diff --git a/dcrlibwallet-ci-build.sh b/dcrlibwallet-ci-build.sh index a19ee42c5..63a696d4b 100755 --- a/dcrlibwallet-ci-build.sh +++ b/dcrlibwallet-ci-build.sh @@ -1,15 +1,15 @@ installGo(){ echo "Installing golang" - curl -O https://storage.googleapis.com/golang/go1.12.9.darwin-amd64.tar.gz - sha256sum go1.12.9.darwin-amd64.tar.gz - tar -xvf go1.12.9.darwin-amd64.tar.gz + curl -O https://storage.googleapis.com/golang/go1.16.7.darwin-amd64.tar.gz + sha256sum go1.16.7.darwin-amd64.tar.gz + tar -xvf go1.16.7.darwin-amd64.tar.gz sudo chown -R root:root ./go sudo mv go /usr/local } installGomobile(){ echo "Installing gomobile" - go get -u golang.org/x/mobile/cmd/gomobile + go install golang.org/x/mobile/cmd/gomobile@latest gomobile init }