diff --git a/.github/workflows/MergeToMainWorkflow.yaml b/.github/workflows/MergeToMainWorkflow.yaml index ad4954e12..9aa6590ac 100644 --- a/.github/workflows/MergeToMainWorkflow.yaml +++ b/.github/workflows/MergeToMainWorkflow.yaml @@ -16,30 +16,30 @@ env: jobs: build: name: Build - runs-on: ubuntu-latest + runs-on: ${{ vars.RUNNER }} timeout-minutes: 120 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Validate Gradle Wrapper - uses: gradle/wrapper-validation-action@v1 + uses: gradle/actions/wrapper-validation@v3 - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: ${{ env.DISTRIBUTION }} java-version: ${{ env.JDK_VERSION }} cache: gradle - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/actions/setup-gradle@v3 - name: Build all build type and flavor permutations run: ./gradlew assemble --parallel --build-cache - name: Upload build outputs (APKs) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build-outputs path: app/build/outputs @@ -47,7 +47,7 @@ jobs: - name: Upload build reports if: always() continue-on-error: true - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build-reports path: "*/build/reports" diff --git a/.github/workflows/PullRequestWorkflow.yaml b/.github/workflows/PullRequestWorkflow.yaml index 20e1582a8..e3f702a40 100644 --- a/.github/workflows/PullRequestWorkflow.yaml +++ b/.github/workflows/PullRequestWorkflow.yaml @@ -13,14 +13,14 @@ env: jobs: build: name: Build - runs-on: ubuntu-latest + runs-on: ${{ vars.RUNNER }} timeout-minutes: 120 steps: - name: Checkout uses: actions/checkout@v4 - name: Validate Gradle Wrapper - uses: gradle/wrapper-validation-action@v2 + uses: gradle/actions/wrapper-validation@v3 - name: Set up JDK uses: actions/setup-java@v4 @@ -30,7 +30,7 @@ jobs: cache: gradle - name: Setup Gradle - uses: gradle/gradle-build-action@v3 + uses: gradle/actions/setup-gradle@v3 - name: Build all build type and flavor permutations run: ./gradlew assemble --parallel --build-cache @@ -51,14 +51,14 @@ jobs: test: name: Unit Tests - runs-on: ubuntu-latest + runs-on: ${{ vars.RUNNER }} timeout-minutes: 120 steps: - name: Checkout uses: actions/checkout@v4 - name: Validate Gradle Wrapper - uses: gradle/wrapper-validation-action@v2 + uses: gradle/actions/wrapper-validation@v3 - name: Set up JDK uses: actions/setup-java@v4 @@ -68,7 +68,7 @@ jobs: cache: gradle - name: Setup Gradle - uses: gradle/gradle-build-action@v3 + uses: gradle/actions/setup-gradle@v3 continue-on-error: true - name: Run local tests @@ -83,7 +83,7 @@ jobs: android-test: name: Instrumentation Tests (${{ matrix.device.name }}) - runs-on: ubuntu-latest + runs-on: ${{ vars.RUNNER }} timeout-minutes: 30 strategy: fail-fast: false @@ -117,7 +117,7 @@ jobs: run: yes | "$ANDROID_HOME"/cmdline-tools/latest/bin/sdkmanager --licenses || true - name: Run instrumentation tests - uses: gradle/gradle-build-action@v3 + uses: gradle/actions/setup-gradle@v3 with: arguments: ${{ matrix.device.name }}DebugAndroidTest @@ -132,7 +132,7 @@ jobs: spotless: name: Spotless Check - runs-on: ubuntu-latest + runs-on: ${{ vars.RUNNER }} timeout-minutes: 60 steps: - name: Checkout @@ -141,7 +141,7 @@ jobs: fetch-depth: 0 - name: Validate Gradle Wrapper - uses: gradle/wrapper-validation-action@v2 + uses: gradle/actions/wrapper-validation@v3 - name: Set up JDK uses: actions/setup-java@v4 @@ -151,7 +151,7 @@ jobs: cache: gradle - name: Setup Gradle - uses: gradle/gradle-build-action@v3 + uses: gradle/actions/setup-gradle@v3 - name: Spotless Check run: ./gradlew spotlessCheck --init-script gradle/init.gradle.kts --parallel --build-cache diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f341ed23a..d2a82bc0e 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -13,7 +13,7 @@ accompanist = "0.34.0" # kotlinPlugin and composeCompiler are linked # See https://developer.android.com/jetpack/androidx/releases/compose-kotlin kotlinPlugin = "1.9.22" -androidGradlePlugin = "8.4.0-rc01" +androidGradlePlugin = "8.4.2" protobufPlugin = "0.9.4" androidxActivityCompose = "1.8.2"