CI: Update homebrew and use the latest go version
This commit is contained in:
parent
a133f44564
commit
5057528ad9
2 changed files with 3 additions and 1 deletions
3
.github/workflows/deploying.yml
vendored
3
.github/workflows/deploying.yml
vendored
|
|
@ -15,6 +15,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Installing packages
|
- name: Installing packages
|
||||||
run: |
|
run: |
|
||||||
|
brew update
|
||||||
brew install libtool automake cmake carthage swiftformat openssl libssh2
|
brew install libtool automake cmake carthage swiftformat openssl libssh2
|
||||||
brew install go || brew link --overwrite go
|
brew install go || brew link --overwrite go
|
||||||
brew install swiftlint || brew link --overwrite swiftlint
|
brew install swiftlint || brew link --overwrite swiftlint
|
||||||
|
|
@ -45,7 +46,7 @@ jobs:
|
||||||
- name: GopenPGP
|
- name: GopenPGP
|
||||||
if: steps.gopenpgp-cache.outputs.cache-hit != 'true'
|
if: steps.gopenpgp-cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
export PATH="/usr/local/opt/go@1.14/bin:$PATH"
|
export PATH="/usr/local/opt/go/bin:$PATH"
|
||||||
./scripts/gopenpgp_build.sh
|
./scripts/gopenpgp_build.sh
|
||||||
- name: Test
|
- name: Test
|
||||||
run: bundle exec fastlane test
|
run: bundle exec fastlane test
|
||||||
|
|
|
||||||
1
.github/workflows/testing.yml
vendored
1
.github/workflows/testing.yml
vendored
|
|
@ -9,6 +9,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Installing packages
|
- name: Installing packages
|
||||||
run: |
|
run: |
|
||||||
|
brew update
|
||||||
brew install libtool automake cmake carthage swiftformat openssl libssh2
|
brew install libtool automake cmake carthage swiftformat openssl libssh2
|
||||||
brew install swiftlint || brew link --overwrite swiftlint
|
brew install swiftlint || brew link --overwrite swiftlint
|
||||||
brew install go || brew link --overwrite go
|
brew install go || brew link --overwrite go
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue