Skip to content

Commit a00b90f

Browse files
committed
Migrate ktfmt check workflow to new builder
1 parent 69dbb09 commit a00b90f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/android-kotlin-format-check.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions: {}
1919
jobs:
2020
prepare:
2121
name: Prepare
22-
runs-on: ubuntu-latest
22+
runs-on: android-build
2323
steps:
2424
- name: Checkout repository
2525
uses: actions/checkout@v4
@@ -43,6 +43,12 @@ jobs:
4343
runs-on: ubuntu-latest
4444
container:
4545
image: ${{ needs.prepare.outputs.container_image }}
46+
volumes:
47+
# node is symlinked in, w/o mounting it, when using a image node won't be found for the
48+
# checkout action
49+
# https://github.com/NixOS/nixpkgs/issues/306373
50+
- /nix:/nix
51+
- gradle-cache:/root/.gradle
4652
steps:
4753
# Fix for HOME path overridden by GH runners when building in containers, see:
4854
# https://github.com/actions/runner/issues/863

0 commit comments

Comments
 (0)