[Vertex AI] Add compilation tests for GCS snippets #19085
Workflow file for this run
This file contains hidden or 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: 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@v5 | |
| with: | |
| python-version: 3.11 | |
| - name: Cache Mint packages | |
| uses: actions/cache@v4 | |
| 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 |