mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-11 22:55:59 +05:45
28 lines
841 B
YAML
28 lines
841 B
YAML
name: analytics
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'FirebaseAnalytics.podspec.json'
|
|
- 'GoogleAppMeasurement.podspec.json'
|
|
- 'Gemfile'
|
|
schedule:
|
|
# Run every day at 11pm (PST) - cron uses UTC times
|
|
- cron: '0 7 * * *'
|
|
|
|
jobs:
|
|
pod-lib-lint:
|
|
# Don't run on private repo unless it is a PR.
|
|
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
|
|
|
|
runs-on: macOS-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup Bundler
|
|
run: scripts/setup_bundler.sh
|
|
- name: GoogleAppMeasurement
|
|
run: scripts/third_party/travis/retry.sh pod spec lint GoogleAppMeasurement.podspec.json
|
|
|
|
# TODO: Consider pushing GoogleAppMeasurement.podspec.json to SpecsStaging to enable similar test
|
|
# for FirebaseAnalytics.podspec.json
|