Skip to content

Commit 01ed6a6

Browse files
committed
chore: sync workflow with paramedic
1 parent 1a930fe commit 01ed6a6

File tree

4 files changed

+50
-53
lines changed

4 files changed

+50
-53
lines changed

.github/workflows/android.yml

Lines changed: 17 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
# "License"); you may not use this file except in compliance
77
# with the License. You may obtain a copy of the License at
88
#
9-
# http://www.apache.org/licenses/LICENSE-2.0
9+
# http://www.apache.org/licenses/LICENSE-2.0
1010
#
1111
# Unless required by applicable law or agreed to in writing,
1212
# software distributed under the License is distributed on an
1313
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14-
# KIND, either express or implied. See the License for the
14+
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

@@ -30,6 +30,9 @@ on:
3030
- 'LICENSE'
3131
- '.eslint*'
3232

33+
permissions:
34+
contents: read
35+
3336
jobs:
3437
test:
3538
name: Android ${{ matrix.versions.android }} Test
@@ -41,7 +44,7 @@ jobs:
4144
# Storing a copy of the repo
4245
repo: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
4346

44-
node-version: 20
47+
node-version: 24
4548

4649
# These are the default Java configurations used by most tests.
4750
# To customize these options, add "java-distro" or "java-version" to the strategy matrix with its overriding value.
@@ -57,28 +60,6 @@ jobs:
5760
strategy:
5861
matrix:
5962
versions:
60-
- android: 7
61-
android-api: 24
62-
63-
- android: 7.1
64-
android-api: 25
65-
66-
- android: 8
67-
android-api: 26
68-
69-
- android: 8.1
70-
android-api: 27
71-
system-image-arch: x86
72-
73-
- android: 9
74-
android-api: 28
75-
76-
- android: 10
77-
android-api: 29
78-
79-
- android: 11
80-
android-api: 30
81-
8263
- android: 12
8364
android-api: 31
8465

@@ -91,14 +72,20 @@ jobs:
9172
- android: 14
9273
android-api: 34
9374

75+
- android: 15
76+
android-api: 35
77+
78+
- android: 16
79+
android-api: 36
80+
9481
timeout-minutes: 60
9582

9683
steps:
97-
- uses: actions/checkout@v4
98-
- uses: actions/setup-node@v4
84+
- uses: actions/checkout@v6
85+
- uses: actions/setup-node@v6
9986
with:
10087
node-version: ${{ env.node-version }}
101-
- uses: actions/setup-java@v4
88+
- uses: actions/setup-java@v5
10289
env:
10390
java-version: ${{ matrix.versions.java-version == '' && env.default_java-version || matrix.versions.java-version }}
10491
java-distro: ${{ matrix.versions.java-distro == '' && env.default_java-distro || matrix.versions.java-distro }}
@@ -129,7 +116,7 @@ jobs:
129116
if: ${{ endswith(env.repo, '/cordova-paramedic') != true }}
130117
run: npm i -g github:apache/cordova-paramedic
131118

132-
- uses: reactivecircus/android-emulator-runner@v2
119+
- uses: reactivecircus/android-emulator-runner@b530d96654c385303d652368551fb075bc2f0b6b
133120
env:
134121
system-image-arch: ${{ matrix.versions.system-image-arch == '' && env.default_system-image-arch || matrix.versions.system-image-arch }}
135122
system-image-target: ${{ matrix.versions.system-image-target == '' && env.default_system-image-target || matrix.versions.system-image-target }}
@@ -143,7 +130,7 @@ jobs:
143130
script: echo "Pregenerate the AVD before running Paramedic"
144131

145132
- name: Run paramedic tests
146-
uses: reactivecircus/android-emulator-runner@v2
133+
uses: reactivecircus/android-emulator-runner@b530d96654c385303d652368551fb075bc2f0b6b
147134
env:
148135
system-image-arch: ${{ matrix.versions.system-image-arch == '' && env.default_system-image-arch || matrix.versions.system-image-arch }}
149136
system-image-target: ${{ matrix.versions.system-image-target == '' && env.default_system-image-target || matrix.versions.system-image-target }}

.github/workflows/chrome.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
# "License"); you may not use this file except in compliance
77
# with the License. You may obtain a copy of the License at
88
#
9-
# http://www.apache.org/licenses/LICENSE-2.0
9+
# http://www.apache.org/licenses/LICENSE-2.0
1010
#
1111
# Unless required by applicable law or agreed to in writing,
1212
# software distributed under the License is distributed on an
1313
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14-
# KIND, either express or implied. See the License for the
14+
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

@@ -29,6 +29,9 @@ on:
2929
- 'LICENSE'
3030
- '.eslint*'
3131

32+
permissions:
33+
contents: read
34+
3235
jobs:
3336
test:
3437
name: Chrome Latest Test
@@ -39,11 +42,11 @@ jobs:
3942
# Storing a copy of the repo
4043
repo: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
4144

42-
node-version: 20
45+
node-version: 24
4346

4447
steps:
45-
- uses: actions/checkout@v4
46-
- uses: actions/setup-node@v4
48+
- uses: actions/checkout@v6
49+
- uses: actions/setup-node@v6
4750
with:
4851
node-version: ${{ env.node-version }}
4952

.github/workflows/ios.yml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
# "License"); you may not use this file except in compliance
77
# with the License. You may obtain a copy of the License at
88
#
9-
# http://www.apache.org/licenses/LICENSE-2.0
9+
# http://www.apache.org/licenses/LICENSE-2.0
1010
#
1111
# Unless required by applicable law or agreed to in writing,
1212
# software distributed under the License is distributed on an
1313
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14-
# KIND, either express or implied. See the License for the
14+
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

@@ -23,12 +23,16 @@ on:
2323
- '**.md'
2424
- 'LICENSE'
2525
- '.eslint*'
26+
2627
pull_request:
2728
paths-ignore:
2829
- '**.md'
2930
- 'LICENSE'
3031
- '.eslint*'
3132

33+
permissions:
34+
contents: read
35+
3236
jobs:
3337
test:
3438
name: iOS ${{ matrix.versions.ios-version }} Test
@@ -40,7 +44,7 @@ jobs:
4044
# Storing a copy of the repo
4145
repo: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
4246

43-
node-version: 20
47+
node-version: 24
4448

4549
# > Starting April 26, 2021, all iOS and iPadOS apps submitted to the App Store must be built with Xcode 12 and the iOS 14 SDK.
4650
# Because of Apple's requirement, listed above, We will only be using the latest Xcode release for testing.
@@ -50,21 +54,21 @@ jobs:
5054
strategy:
5155
matrix:
5256
versions:
53-
- os-version: macos-12
54-
ios-version: 15.x
55-
xcode-version: 13.x
56-
57-
- os-version: macos-14
58-
ios-version: 16.x
59-
xcode-version: 14.x
60-
6157
- os-version: macos-14
6258
ios-version: 17.x
6359
xcode-version: 15.x
6460

61+
- os-version: macos-15
62+
ios-version: 18.x
63+
xcode-version: 16.x
64+
65+
- os-version: macos-26
66+
ios-version: 26.x
67+
xcode-version: 26.1
68+
6569
steps:
66-
- uses: actions/checkout@v4
67-
- uses: actions/setup-node@v4
70+
- uses: actions/checkout@v6
71+
- uses: actions/setup-node@v6
6872
with:
6973
node-version: ${{ env.node-version }}
7074
- uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd

.github/workflows/lint.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
# "License"); you may not use this file except in compliance
77
# with the License. You may obtain a copy of the License at
88
#
9-
# http://www.apache.org/licenses/LICENSE-2.0
9+
# http://www.apache.org/licenses/LICENSE-2.0
1010
#
1111
# Unless required by applicable law or agreed to in writing,
1212
# software distributed under the License is distributed on an
1313
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14-
# KIND, either express or implied. See the License for the
14+
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

@@ -29,16 +29,19 @@ on:
2929
- '.eslint*'
3030
- '.github/workflow/lint.yml'
3131

32+
permissions:
33+
contents: read
34+
3235
jobs:
3336
test:
3437
name: Lint Test
3538
runs-on: ubuntu-latest
3639
env:
37-
node-version: 20
40+
node-version: 24
3841

3942
steps:
40-
- uses: actions/checkout@v4
41-
- uses: actions/setup-node@v4
43+
- uses: actions/checkout@v6
44+
- uses: actions/setup-node@v6
4245
with:
4346
node-version: ${{ env.node-version }}
4447

0 commit comments

Comments
 (0)