Skip to content

Commit edc9081

Browse files
authored
[Infra] Lint interop podspecs in GHA (#11929)
1 parent 1ca98ff commit edc9081

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/auth.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
runs-on: macos-12
2525
strategy:
2626
matrix:
27+
podspec: [FirebaseAuthInterop.podspec, FirebaseAuth.podspec]
2728
target: [ios, tvos, macos, watchos]
2829
steps:
2930
- uses: actions/checkout@v3
@@ -34,7 +35,7 @@ jobs:
3435
run: scripts/configure_test_keychain.sh
3536
- name: Build and test
3637
run: |
37-
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAuth.podspec --platforms=${{ matrix.target }}
38+
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }}
3839
3940
integration-tests:
4041
# Don't run on private repo unless it is a PR.

.github/workflows/firebase_app_check.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
runs-on: macos-12
2222
strategy:
2323
matrix:
24+
podspec: [FirebaseAppCheckInterop.podspec, FirebaseAppCheck.podspec]
2425
target: [ios, tvos, macos]
2526
steps:
2627
- uses: actions/checkout@v3
@@ -30,7 +31,7 @@ jobs:
3031
- name: Configure test keychain
3132
run: scripts/configure_test_keychain.sh
3233
- name: FirebaseAppCheck
33-
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAppCheck.podspec --platforms=${{ matrix.target }}
34+
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }}
3435

3536
catalyst:
3637
# Don't run on private repo unless it is a PR.

.github/workflows/messaging.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,15 @@ jobs:
5757

5858
strategy:
5959
matrix:
60+
podspec: [FirebaseMessagingInterop.podspec, FirebaseMessaging.podspec]
6061
target: [ios, tvos, macos --skip-tests, watchos --skip-tests] # skipping tests on mac because of keychain access
6162
steps:
6263
- uses: actions/checkout@v3
6364
- uses: ruby/setup-ruby@v1
6465
- name: Setup Bundler
6566
run: scripts/setup_bundler.sh
6667
- name: Build and test
67-
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseMessaging.podspec --platforms=${{ matrix.target }}
68+
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }}
6869

6970
spm:
7071
# Don't run on private repo unless it is a PR.

0 commit comments

Comments
 (0)