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
3030 - ' LICENSE'
3131 - ' .eslint*'
3232
33+ permissions :
34+ contents : read
35+
3336jobs :
3437 test :
3538 name : Android ${{ matrix.versions.android }} Test
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.
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 }}
0 commit comments