@@ -404,6 +404,7 @@ jobs:
404404 { check_name: "android-test-play", task: "test-play" },
405405 { check_name: "android-test-third-party", task: "test-third-party" },
406406 { check_name: "android-build-play", task: "build-play" },
407+ { check_name: "android-ktlint", task: "ktlint" },
407408 ]
408409 : [],
409410 ),
@@ -1138,7 +1139,7 @@ jobs:
11381139 fail-fast : false
11391140 # The canonical main path waits for the admission debounce above, so
11401141 # widen this large matrix within the current runner-registration budget.
1141- max-parallel : 24
1142+ max-parallel : 28
11421143 matrix : ${{ fromJson(needs.preflight.outputs.checks_node_core_nondist_matrix) }}
11431144 steps :
11441145 - *linux_node_checkout_step
@@ -2038,7 +2039,7 @@ jobs:
20382039 uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
20392040 with :
20402041 path : ~/.android-sdk
2041- key : ${{ runner.os }}-android-sdk-v1-cmdline-14742923-platform-36 -build-tools-36.0.0
2042+ key : ${{ runner.os }}-android-sdk-v1-cmdline-14742923-platform-37.0 -build-tools-36.0.0
20422043 restore-keys : |
20432044 ${{ runner.os }}-android-sdk-v1-
20442045
@@ -2068,7 +2069,7 @@ jobs:
20682069 yes | sdkmanager --sdk_root="${ANDROID_SDK_ROOT}" --licenses >/dev/null
20692070 sdkmanager --sdk_root="${ANDROID_SDK_ROOT}" --install \
20702071 "platform-tools" \
2071- "platforms;android-36 " \
2072+ "platforms;android-37.0 " \
20722073 "build-tools;36.0.0"
20732074
20742075 - name : Run Android ${{ matrix.task }}
@@ -2086,7 +2087,16 @@ jobs:
20862087 ./gradlew --no-daemon --build-cache :app:testThirdPartyDebugUnitTest
20872088 ;;
20882089 build-play)
2089- ./gradlew --no-daemon --build-cache :app:assemblePlayDebug
2090+ ./gradlew --no-daemon --build-cache \
2091+ :app:assemblePlayDebug \
2092+ :app:assembleThirdPartyDebug \
2093+ :app:lintPlayDebug \
2094+ :app:lintThirdPartyDebug \
2095+ :benchmark:assembleDebug
2096+ ;;
2097+ ktlint)
2098+ # Mirrors `pnpm android:lint`; keeps formatting drift out of main (see PR #100304 sweep).
2099+ ./gradlew --no-daemon --build-cache :app:ktlintCheck :benchmark:ktlintCheck
20902100 ;;
20912101 *)
20922102 echo "Unsupported Android task: $TASK" >&2
0 commit comments