Fix GitHub Actions
This commit is contained in:
parent
90f1f54a21
commit
687b67a6a2
3 changed files with 8 additions and 8 deletions
6
.github/workflows/deploying.yml
vendored
6
.github/workflows/deploying.yml
vendored
|
|
@ -7,7 +7,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: macos-11
|
runs-on: macos-12
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
channel: ['beta', 'release']
|
channel: ['beta', 'release']
|
||||||
|
|
@ -39,11 +39,11 @@ jobs:
|
||||||
bundle config path vendor/bundle
|
bundle config path vendor/bundle
|
||||||
bundle install --jobs 4 --retry 3
|
bundle install --jobs 4 --retry 3
|
||||||
- name: Carthage
|
- name: Carthage
|
||||||
if: steps.carthage-cache.outputs.cache-hit != 'true'
|
if: ${{ steps.carthage-cache.outputs.cache-hit == false }}
|
||||||
run: |
|
run: |
|
||||||
carthage bootstrap --no-use-binaries --cache-builds --use-xcframeworks
|
carthage bootstrap --no-use-binaries --cache-builds --use-xcframeworks
|
||||||
- name: GopenPGP
|
- name: GopenPGP
|
||||||
if: steps.gopenpgp-cache.outputs.cache-hit != 'true'
|
if: ${{ steps.gopenpgp-cache.outputs.cache-hit == false }}
|
||||||
run: |
|
run: |
|
||||||
export PATH="/usr/local/opt/go/bin:$PATH"
|
export PATH="/usr/local/opt/go/bin:$PATH"
|
||||||
./scripts/gopenpgp_build.sh
|
./scripts/gopenpgp_build.sh
|
||||||
|
|
|
||||||
4
.github/workflows/linting.yml
vendored
4
.github/workflows/linting.yml
vendored
|
|
@ -4,7 +4,7 @@ on: pull_request
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
swiftformat:
|
swiftformat:
|
||||||
runs-on: macos-latest
|
runs-on: macos-12
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Installing packages
|
- name: Installing packages
|
||||||
|
|
@ -20,7 +20,7 @@ jobs:
|
||||||
swiftformat --lint .
|
swiftformat --lint .
|
||||||
|
|
||||||
swiftlint:
|
swiftlint:
|
||||||
runs-on: macos-latest
|
runs-on: macos-12
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Installing packages
|
- name: Installing packages
|
||||||
|
|
|
||||||
6
.github/workflows/testing.yml
vendored
6
.github/workflows/testing.yml
vendored
|
|
@ -4,7 +4,7 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
testing:
|
testing:
|
||||||
runs-on: macos-11
|
runs-on: macos-12
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Installing packages
|
- name: Installing packages
|
||||||
|
|
@ -33,11 +33,11 @@ jobs:
|
||||||
bundle config path vendor/bundle
|
bundle config path vendor/bundle
|
||||||
bundle install --jobs 4 --retry 3
|
bundle install --jobs 4 --retry 3
|
||||||
- name: Carthage
|
- name: Carthage
|
||||||
if: steps.carthage-cache.outputs.cache-hit != 'true'
|
if: ${{ steps.carthage-cache.outputs.cache-hit == false }}
|
||||||
run: |
|
run: |
|
||||||
carthage bootstrap --no-use-binaries --cache-builds --use-xcframeworks
|
carthage bootstrap --no-use-binaries --cache-builds --use-xcframeworks
|
||||||
- name: GopenPGP
|
- name: GopenPGP
|
||||||
if: steps.gopenpgp-cache.outputs.cache-hit != 'true'
|
if: ${{ steps.gopenpgp-cache.outputs.cache-hit == false }}
|
||||||
run: ./scripts/gopenpgp_build.sh
|
run: ./scripts/gopenpgp_build.sh
|
||||||
- name: Testing
|
- name: Testing
|
||||||
run: bundle exec fastlane test
|
run: bundle exec fastlane test
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue