Skip to content

feat(appcheck): implement RecaptchaEnterpriseProvider and tests #293

feat(appcheck): implement RecaptchaEnterpriseProvider and tests

feat(appcheck): implement RecaptchaEnterpriseProvider and tests #293

name: sdk.installations
permissions:
contents: read
on:
workflow_dispatch:
pull_request:
paths:
- 'FirebaseInstallations**'
- '.github/workflows/sdk.installations.yml'
- '.github/workflows/_spm.yml'
- '.github/workflows/_cocoapods.yml'
- '.github/workflows/_catalyst.yml'
- '.github/workflows/_quickstart.yml'
- '.github/workflows/_cocoapods.cron.yml'
- 'Gemfile*'
schedule:
# Run every day at 11pm (PDT) / 2am (EDT) - cron uses UTC times
- cron: '0 6 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
spm:
uses: ./.github/workflows/_spm.yml
with:
target: FirebaseInstallations
buildonly_platforms: all
catalyst:
uses: ./.github/workflows/_catalyst.yml
with:
product: FirebaseInstallations
target: FirebaseInstallations-Unit-unit
pod_lib_lint:
if: github.event.pull_request.head.repo.fork == false
uses: ./.github/workflows/_cocoapods.yml
with:
product: FirebaseInstallations
setup_command: |
scripts/configure_test_keychain.sh
mkdir -p FirebaseInstallations/Source/Tests/Resources
scripts/decrypt_gha_secret.sh scripts/gha-encrypted/Installations/GoogleService-Info.plist.gpg \
FirebaseInstallations/Source/Tests/Resources/GoogleService-Info.plist "$plist_secret"
echo "FIS_INTEGRATION_TESTS_REQUIRED=1" >> $GITHUB_ENV
secrets:
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
quickstart:
uses: ./.github/workflows/_quickstart.yml
with:
product: Installations
setup_command: scripts/setup_quickstart.sh installations
plist_src_path: scripts/gha-encrypted/Installations/GoogleService-Info.plist.gpg
plist_dst_path: quickstart-ios/installations/GoogleService-Info.plist
secrets:
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
installations-cron-only:
if: github.event.pull_request.head.repo.fork == false
needs: pod_lib_lint
uses: ./.github/workflows/_cocoapods.cron.yml
with:
product: FirebaseInstallations
platforms: '[ "ios", "tvos", "macos" ]'
flags: '[ "--use-static-frameworks" ]'
# For toolchains var, see https://github.com/actions/runner-images/issues/13135#issuecomment-3397914993
setup_command: |
echo "TOOLCHAINS=com.apple.dt.toolchain.XcodeDefault" >> $GITHUB_ENV
scripts/configure_test_keychain.sh
mkdir -p FirebaseInstallations/Source/Tests/Resources
scripts/decrypt_gha_secret.sh scripts/gha-encrypted/Installations/GoogleService-Info.plist.gpg \
FirebaseInstallations/Source/Tests/Resources/GoogleService-Info.plist "$plist_secret"
echo "FIS_INTEGRATION_TESTS_REQUIRED=1" >> $GITHUB_ENV
secrets:
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}