analytics.yml 841 B

123456789101112131415161718192021222324252627
  1. name: analytics
  2. on:
  3. pull_request:
  4. paths:
  5. - 'FirebaseAnalytics.podspec.json'
  6. - 'GoogleAppMeasurement.podspec.json'
  7. - 'Gemfile'
  8. schedule:
  9. # Run every day at 11pm (PST) - cron uses UTC times
  10. - cron: '0 7 * * *'
  11. jobs:
  12. pod-lib-lint:
  13. # Don't run on private repo unless it is a PR.
  14. if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
  15. runs-on: macOS-latest
  16. steps:
  17. - uses: actions/checkout@v2
  18. - name: Setup Bundler
  19. run: scripts/setup_bundler.sh
  20. - name: GoogleAppMeasurement
  21. run: scripts/third_party/travis/retry.sh pod spec lint GoogleAppMeasurement.podspec.json
  22. # TODO: Consider pushing GoogleAppMeasurement.podspec.json to SpecsStaging to enable similar test
  23. # for FirebaseAnalytics.podspec.json