diff --git a/.forgejo/workflows/android-check.yaml b/.forgejo/workflows/android-check.yaml index 1af8d34fe..2f00e57ce 100644 --- a/.forgejo/workflows/android-check.yaml +++ b/.forgejo/workflows/android-check.yaml @@ -38,7 +38,13 @@ jobs: lint: name: Android Lint runs-on: ubuntu-latest + container: + image: runmymind/docker-android-sdk:latest steps: + - name: Parallel submodules checkout + shell: bash + run: apt-get install + - name: Checkout sources uses: actions/checkout@v4 with: @@ -49,7 +55,6 @@ jobs: run: git submodule update --depth 1 --init --recursive --jobs=$(($(nproc) * 20)) - name: Lint - uses: docker://runmymind/docker-android-sdk:latest shell: bash working-directory: android run: ./gradlew -Pandroidauto=true lint @@ -57,6 +62,8 @@ jobs: android-check: name: Build Android Debug runs-on: ubuntu-latest + container: + image: runmymind/docker-android-sdk:latest strategy: fail-fast: false matrix: @@ -93,7 +100,6 @@ jobs: key: ${{ github.workflow }}-${{ matrix.flavor }} - name: Compile ${{ matrix.flavor }} - uses: docker://runmymind/docker-android-sdk:latest shell: bash working-directory: android env: