[Infra] Add job that builds ClientApp with source Firestore via SPM (… #15219
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: check | |
on: | |
pull_request: | |
paths-ignore: | |
- 'Firestore/**' | |
push: | |
branches: master | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
check: | |
# Don't run on private repo. | |
if: github.repository == 'Firebase/firebase-ios-sdk' | |
runs-on: macos-12 | |
env: | |
MINT_PATH: ${{ github.workspace }}/mint | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Cache Mint packages | |
uses: actions/cache@v3 | |
with: | |
path: ${{ env.MINT_PATH }} | |
key: ${{ runner.os }}-mint-${{ hashFiles('**/Mintfile') }} | |
restore-keys: ${{ runner.os }}-mint- | |
- name: Setup check | |
run: scripts/setup_check.sh | |
- name: Check | |
run: scripts/check.sh --test-only |