Skip to content

feat(core): bump Firebase Android SDK to 35.0.2 #274

feat(core): bump Firebase Android SDK to 35.0.2

feat(core): bump Firebase Android SDK to 35.0.2 #274

Workflow file for this run

name: e2e-auth
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-auth
cancel-in-progress: true
# Emulator tier: every job runs under `firebase emulators:exec`, so no live
# project credentials are needed.
#
# Auth needs BOTH tiers: its tests run against the Auth emulator, but the
# validatePassword() suite calls the live password-policy REST API, which
# rejects placeholder credentials - so real config is injected while the
# emulators stay on. The example commits its plists and
# google-services.json, so no generator run is needed.
#
# Thin caller: one job per platform this product supports, each delegating
# to the matching `reusable_e2e_<platform>.yaml`. Platforms the product does
# not support have no job here, so they render no check at all.
# Path-filtered so it only runs when this product or its dependencies change;
# the nightly workflow_call still runs it unconditionally.
on:
pull_request:
paths:
- 'packages/firebase_auth/**'
- 'packages/firebase_core/**'
- '.github/workflows/e2e_tests_auth.yaml'
- '.github/workflows/reusable_e2e_*.yaml'
- '.github/actions/setup-flutterfire/**'
- '.github/workflows/scripts/**'
push:
branches:
- main
paths:
- 'packages/firebase_auth/**'
- 'packages/firebase_core/**'
- '.github/workflows/e2e_tests_auth.yaml'
- '.github/workflows/reusable_e2e_*.yaml'
- '.github/actions/setup-flutterfire/**'
- '.github/workflows/scripts/**'
workflow_call:
inputs:
nightly_test_mode:
type: boolean
default: false
secrets:
TESTS_E2E_FIREBASE_OPTIONS_DART:
required: true
TESTS_E2E_GOOGLE_SERVICES_JSON:
required: true
permissions:
contents: read
jobs:
changes:
uses: ./.github/workflows/reusable_e2e_changes.yaml
with:
package-path: 'packages/firebase_auth/firebase_auth'
platform-interface-package: 'firebase_auth_platform_interface'
web-package: 'firebase_auth_web'
inject-config-secrets: true
android:
needs: changes
if: needs.changes.outputs.android == 'true'
uses: ./.github/workflows/reusable_e2e_android.yaml
with:
package-path: 'packages/firebase_auth/firebase_auth'
package-scope: 'firebase_auth*'
inject-config-secrets: true
nightly_test_mode: ${{ inputs.nightly_test_mode == true }}
secrets:
TESTS_E2E_FIREBASE_OPTIONS_DART: ${{ secrets.TESTS_E2E_FIREBASE_OPTIONS_DART }}
TESTS_E2E_GOOGLE_SERVICES_JSON: ${{ secrets.TESTS_E2E_GOOGLE_SERVICES_JSON }}
ios:
needs: changes
if: needs.changes.outputs.ios == 'true'
uses: ./.github/workflows/reusable_e2e_ios.yaml
with:
package-path: 'packages/firebase_auth/firebase_auth'
package-scope: 'firebase_auth*'
cache-key-suffix: 'auth'
# Derives GoogleService-Info.plist from the injected real options. The
# old committed plist carried an invalid-shape `dummy-api-key`, which
# FIRInstallations aborts on at launch.
native-config-args: '--live-tier-plist=auth'
inject-config-secrets: true
# Firebase Apple SDK 13 needs app-check 12, and every GoogleSignIn-iOS
# release (8.0.0 to 10.0.0) needs app-check 11, so the example's
# google_sign_in cannot resolve under SPM. CocoaPods is still on 12.19.0.
# Rejoin SPM once https://github.com/google/GoogleSignIn-iOS/pull/626
# ships and google_sign_in_ios accepts that release.
ios-spm: false
nightly_test_mode: ${{ inputs.nightly_test_mode == true }}
secrets:
TESTS_E2E_FIREBASE_OPTIONS_DART: ${{ secrets.TESTS_E2E_FIREBASE_OPTIONS_DART }}
TESTS_E2E_GOOGLE_SERVICES_JSON: ${{ secrets.TESTS_E2E_GOOGLE_SERVICES_JSON }}
macos:
needs: changes
if: needs.changes.outputs.macos == 'true'
uses: ./.github/workflows/reusable_e2e_macos.yaml
with:
package-path: 'packages/firebase_auth/firebase_auth'
package-scope: 'firebase_auth*'
cache-key-suffix: 'auth'
# Same plist derivation as the iOS job above.
native-config-args: '--live-tier-plist=auth'
inject-config-secrets: true
nightly_test_mode: ${{ inputs.nightly_test_mode == true }}
secrets:
TESTS_E2E_FIREBASE_OPTIONS_DART: ${{ secrets.TESTS_E2E_FIREBASE_OPTIONS_DART }}
TESTS_E2E_GOOGLE_SERVICES_JSON: ${{ secrets.TESTS_E2E_GOOGLE_SERVICES_JSON }}
web:
needs: changes
if: needs.changes.outputs.web == 'true'
uses: ./.github/workflows/reusable_e2e_web.yaml
with:
package-path: 'packages/firebase_auth/firebase_auth'
package-scope: 'firebase_auth*'
inject-config-secrets: true
nightly_test_mode: ${{ inputs.nightly_test_mode == true }}
secrets:
TESTS_E2E_FIREBASE_OPTIONS_DART: ${{ secrets.TESTS_E2E_FIREBASE_OPTIONS_DART }}
TESTS_E2E_GOOGLE_SERVICES_JSON: ${{ secrets.TESTS_E2E_GOOGLE_SERVICES_JSON }}
windows:
needs: changes
if: needs.changes.outputs.windows == 'true'
uses: ./.github/workflows/reusable_e2e_windows.yaml
with:
package-path: 'packages/firebase_auth/firebase_auth'
package-scope: 'firebase_auth*'
inject-config-secrets: true
nightly_test_mode: ${{ inputs.nightly_test_mode == true }}
secrets:
TESTS_E2E_FIREBASE_OPTIONS_DART: ${{ secrets.TESTS_E2E_FIREBASE_OPTIONS_DART }}
TESTS_E2E_GOOGLE_SERVICES_JSON: ${{ secrets.TESTS_E2E_GOOGLE_SERVICES_JSON }}