mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-10 22:45:59 +05:45
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
40 lines
858 B
YAML
40 lines
858 B
YAML
name: check
|
|
|
|
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- 'Firestore/**'
|
|
push:
|
|
branches: main
|
|
|
|
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-14
|
|
env:
|
|
MINT_PATH: ${{ github.workspace }}/mint
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- 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
|