aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/pull_request.yml
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-05-25 17:59:04 +0530
committerGitHub <noreply@github.com>2022-05-25 12:29:04 +0000
commit9d3312611e3f16414d60a717770befeedec9319b (patch)
tree0eedd70adc834d5b4f7b6455fccad034d33586f5 /.github/workflows/pull_request.yml
parent5f4bc7fafde92f18453571054dbdc3b29d196416 (diff)
Instate shadow jobs (#1923)
Diffstat (limited to '.github/workflows/pull_request.yml')
-rw-r--r--.github/workflows/pull_request.yml24
1 files changed, 12 insertions, 12 deletions
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index ef06db8b..cbc2b9c2 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -31,7 +31,7 @@ jobs:
if: "${{ steps.service-changed.outputs.result == 'true' }}"
uses: actions/setup-java@v3.3.0
with:
- distribution: zulu
+ distribution: temurin
java-version: 17
- name: Copy CI gradle.properties
@@ -40,7 +40,7 @@ jobs:
- name: Check codestyle
if: "${{ steps.service-changed.outputs.result == 'true' }}"
- uses: gradle/gradle-build-action@v2.1.6
+ uses: gradle/gradle-build-action@v2.2.0-beta.1
with:
arguments: --no-configuration-cache spotlessCheck
@@ -65,7 +65,7 @@ jobs:
if: "${{ steps.service-changed.outputs.result == 'true' }}"
uses: actions/setup-java@v3.3.0
with:
- distribution: zulu
+ distribution: temurin
java-version: 17
- name: Copy CI gradle.properties
@@ -74,7 +74,7 @@ jobs:
- name: Run unit tests
if: "${{ steps.service-changed.outputs.result == 'true' }}"
- uses: gradle/gradle-build-action@v2.1.6
+ uses: gradle/gradle-build-action@v2.2.0-beta.1
with:
arguments: --no-configuration-cache test -PslimTests
@@ -106,7 +106,7 @@ jobs:
if: "${{ steps.service-changed.outputs.result == 'true' }}"
uses: actions/setup-java@v3.3.0
with:
- distribution: zulu
+ distribution: temurin
java-version: 17
- name: Copy CI gradle.properties
@@ -115,7 +115,7 @@ jobs:
- name: Build debug APKs
if: "${{ steps.service-changed.outputs.result == 'true' }}"
- uses: gradle/gradle-build-action@v2.1.6
+ uses: gradle/gradle-build-action@v2.2.0-beta.1
with:
arguments: --no-configuration-cache assembleFreeDebug assembleNonFreeDebug
@@ -140,7 +140,7 @@ jobs:
if: "${{ steps.service-changed.outputs.result == 'true' }}"
uses: actions/setup-java@v3.3.0
with:
- distribution: zulu
+ distribution: temurin
java-version: 17
- name: Copy CI gradle.properties
@@ -149,7 +149,7 @@ jobs:
- name: Check library API
if: "${{ steps.service-changed.outputs.result == 'true' }}"
- uses: gradle/gradle-build-action@v2.1.6
+ uses: gradle/gradle-build-action@v2.2.0-beta.1
with:
arguments: --no-configuration-cache apiCheck
@@ -174,7 +174,7 @@ jobs:
if: "${{ steps.service-changed.outputs.result == 'true' }}"
uses: actions/setup-java@v3.3.0
with:
- distribution: zulu
+ distribution: temurin
java-version: 17
- name: Copy CI gradle.properties
@@ -183,7 +183,7 @@ jobs:
- name: Run Lint on debug variants
if: "${{ steps.service-changed.outputs.result == 'true' }}"
- uses: gradle/gradle-build-action@v2.1.6
+ uses: gradle/gradle-build-action@v2.2.0-beta.1
with:
arguments: --no-configuration-cache lintDebug
@@ -208,7 +208,7 @@ jobs:
if: "${{ steps.service-changed.outputs.result == 'true' }}"
uses: actions/setup-java@v3.3.0
with:
- distribution: zulu
+ distribution: temurin
java-version: 17
- name: Copy CI gradle.properties
@@ -217,6 +217,6 @@ jobs:
- name: Assemble non-free release
if: "${{ steps.service-changed.outputs.result == 'true' }}"
- uses: gradle/gradle-build-action@v2.1.6
+ uses: gradle/gradle-build-action@v2.2.0-beta.1
with:
arguments: --no-configuration-cache aNFR