Update CI to work with SPM (Cocoapods removal) #110
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: On pull request | |
on: pull_request | |
jobs: | |
test: | |
name: Test | |
runs-on: macos-latest | |
steps: | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: latest-stable | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: vendor/bundle | |
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | |
restore-keys: ${{ runner.os }}-gems- | |
- name: Install | |
run: | | |
cp mock-Secrets.plist the-blue-alliance-ios/Secrets.plist | |
bundle install | |
bundle exec fastlane run setup_ci | |
bundle exec fastlane setup_secrets | |
env: | |
TBA_API_KEY: ${{ secrets.TBA_API_KEY }} | |
- name: fastlane test | |
run: bundle exec fastlane test |