CI: Update homebrew and use the latest go version

This commit is contained in:
Mingshen Sun 2021-09-19 16:56:15 -07:00
parent a133f44564
commit 5057528ad9
2 changed files with 3 additions and 1 deletions

View file

@ -15,6 +15,7 @@ jobs:
- uses: actions/checkout@v2
- name: Installing packages
run: |
brew update
brew install libtool automake cmake carthage swiftformat openssl libssh2
brew install go || brew link --overwrite go
brew install swiftlint || brew link --overwrite swiftlint
@ -45,7 +46,7 @@ jobs:
- name: GopenPGP
if: steps.gopenpgp-cache.outputs.cache-hit != 'true'
run: |
export PATH="/usr/local/opt/go@1.14/bin:$PATH"
export PATH="/usr/local/opt/go/bin:$PATH"
./scripts/gopenpgp_build.sh
- name: Test
run: bundle exec fastlane test