From ac16f78b158e002c021de7ef398ceeb6afa4eb00 Mon Sep 17 00:00:00 2001 From: Norman Breau Date: Thu, 14 Sep 2023 21:06:14 -0300 Subject: [PATCH] ci(gh-action): Paramedic CI sync (#1020) --- .github/workflows/android.yml | 14 +++++++------- .github/workflows/chrome.yml | 6 +++--- .github/workflows/ios.yml | 6 +++++- .github/workflows/lint.yml | 4 ++-- 4 files changed, 17 insertions(+), 13 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 1f914ca5d..3159b6b49 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -57,8 +57,8 @@ jobs: matrix: versions: # Test the lowest minimum supported APIs - - android: 5.1 - android-api: 22 + - android: 7 + android-api: 24 # Test the last 3-4 supported APIs - android: 10 @@ -67,12 +67,12 @@ jobs: - android: 11 android-api: 30 - - android: 12 - android-api: 31 - - android: 12L android-api: 32 + - android: 13 + android-api: 33 + timeout-minutes: 60 steps: @@ -105,7 +105,7 @@ jobs: if: ${{ endswith(env.repo, '/cordova-paramedic') != true }} run: npm i -g github:apache/cordova-paramedic - - uses: reactivecircus/android-emulator-runner@5de26e4bd23bf523e8a4b7f077df8bfb8e52b50e + - uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b env: system-image-arch: ${{ matrix.versions.system-image-arch == '' && env.default_system-image-arch || matrix.versions.system-image-arch }} system-image-target: ${{ matrix.versions.system-image-target == '' && env.default_system-image-target || matrix.versions.system-image-target }} @@ -119,7 +119,7 @@ jobs: script: echo "Pregenerate the AVD before running Paramedic" - name: Run paramedic tests - uses: reactivecircus/android-emulator-runner@5de26e4bd23bf523e8a4b7f077df8bfb8e52b50e + uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b env: system-image-arch: ${{ matrix.versions.system-image-arch == '' && env.default_system-image-arch || matrix.versions.system-image-arch }} system-image-target: ${{ matrix.versions.system-image-target == '' && env.default_system-image-target || matrix.versions.system-image-target }} diff --git a/.github/workflows/chrome.yml b/.github/workflows/chrome.yml index c44a7d3d6..72c92ff9b 100644 --- a/.github/workflows/chrome.yml +++ b/.github/workflows/chrome.yml @@ -42,8 +42,8 @@ jobs: node-version: 16 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: ${{ env.node-version }} @@ -61,7 +61,7 @@ jobs: npm ci - name: Run paramedic install - if: ${{ endswith(env.repo, '/cordova-paramedic') != true }} + if: ${{ endswith(env.repo, '/cordova-paramedic') != true }} run: npm i -g github:apache/cordova-paramedic - name: Run paramedic tests diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index f87324676..a03dcc253 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -62,12 +62,16 @@ jobs: ios-version: 15.x xcode-version: 13.x + - os-version: macos-12 + ios-version: 16.x + xcode-version: 14.x + steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: ${{ env.node-version }} - - uses: maxim-lobanov/setup-xcode@881be567d30efed8fb3f12b5099d68c3fb72aa3d + - uses: maxim-lobanov/setup-xcode@9a697e2b393340c3cacd97468baa318e4c883d98 env: xcode-version: ${{ matrix.versions.xcode-version == '' && env.default_xcode-version || matrix.versions.xcode-version }} with: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 26716d756..0f82eb4c6 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -37,8 +37,8 @@ jobs: node-version: 16 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: ${{ env.node-version }}