| 1234567891011121314151617181920212223 |
- name: spm
- on:
- pull_request:
- paths:
- - '.github/workflows/spm.yml'
- - 'Package.swift'
- - 'Firebase**'
- schedule:
- # Run every day at 11pm (PST) - cron uses UTC times
- - cron: '0 7 * * *'
- jobs:
- swift-build-run:
- # Don't run on private repo unless it is a PR.
- if: github.repository != 'FirebasePrivate/firebase-ios-sdk' || github.event_name == 'pull_request'
- runs-on: macOS-latest
- steps:
- - uses: actions/checkout@v2
- - name: Build
- run: swift build
- - name: Run
- run: swift test
|