GH Actions: Polish

This commit is contained in:
manuroe 2021-04-21 09:25:18 +02:00
parent 8ce5f1cb02
commit 29552ce93f
2 changed files with 8 additions and 4 deletions

View file

@ -1,4 +1,4 @@
name: Simulator
name: CI
on:
# Triggers the workflow on any pull request and push to develop
@ -18,6 +18,7 @@ jobs:
- uses: actions/checkout@v2
# Common cache
# Note: GH actions do not support yaml anchor yet. We need to duplicate this for every job
- uses: actions/cache@v2
with:
path: Pods
@ -32,6 +33,7 @@ jobs:
${{ runner.os }}-gems-
# Common setup
# Note: GH actions do not support yaml anchor yet. We need to duplicate this for every job
- name: Bundle install
run: |
bundle config path vendor/bundle
@ -39,7 +41,7 @@ jobs:
- name: Use right MatrixKit and MatrixSDK versions
run: bundle exec fastlane point_dependencies_to_pending_releases
# Main job
# Main step
- name: Build iOS simulator
run: bundle exec fastlane build
@ -52,6 +54,7 @@ jobs:
- uses: actions/checkout@v2
# Common cache
# Note: GH actions do not support yaml anchor yet. We need to duplicate this for every job
- uses: actions/cache@v2
with:
path: Pods
@ -66,6 +69,7 @@ jobs:
${{ runner.os }}-gems-
# Common setup
# Note: GH actions do not support yaml anchor yet. We need to duplicate this for every job
- name: Bundle install
run: |
bundle config path vendor/bundle
@ -73,6 +77,6 @@ jobs:
- name: Use right MatrixKit and MatrixSDK versions
run: bundle exec fastlane point_dependencies_to_pending_releases
# Main job
# Main step
- name: Unit tests
run: bundle exec fastlane test

View file

@ -21,7 +21,7 @@ Changes to be released in next version
*
🧱 Build
*
* GH Actions: Start using them for CI to check simulator build and tests.
Others
*