Skip to content

Commit

Permalink
ci: use go 1.16.7
Browse files Browse the repository at this point in the history
  • Loading branch information
beansgum committed Sep 7, 2021
1 parent 79b50fd commit bb4448d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions 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
}

Expand Down

0 comments on commit bb4448d

Please sign in to comment.