aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/pull_request.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/pull_request.yml')
-rw-r--r--.github/workflows/pull_request.yml60
1 files changed, 30 insertions, 30 deletions
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index 67a6dbbf..18a80fbe 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -26,11 +26,11 @@ jobs:
- name: Set up JDK
if: ${{ steps.service-changed.outputs.result == 'true' }}
- uses : actions/setup-java@v2.4.0
- with :
- distribution : 'zulu'
- java-version : '17'
- cache: 'gradle'
+ uses: actions/setup-java@v2.4.0
+ with:
+ distribution: zulu
+ java-version: 17
+ cache: gradle
- name: Copy CI gradle.properties
if: ${{ steps.service-changed.outputs.result == 'true' }}
@@ -40,7 +40,7 @@ jobs:
if: ${{ steps.service-changed.outputs.result == 'true' }}
uses: gradle/gradle-build-action@v2.1.3
with:
- arguments: spotlessCheck
+ arguments: --no-configuration-cache spotlessCheck
unit-tests:
runs-on: ubuntu-latest
@@ -61,11 +61,11 @@ jobs:
- name: Set up JDK
if: ${{ steps.service-changed.outputs.result == 'true' }}
- uses : actions/setup-java@v2.4.0
- with :
- distribution : 'zulu'
- java-version : '17'
- cache: 'gradle'
+ uses: actions/setup-java@v2.4.0
+ with:
+ distribution: zulu
+ java-version: 17
+ cache: gradle
- name: Copy CI gradle.properties
if: ${{ steps.service-changed.outputs.result == 'true' }}
@@ -75,7 +75,7 @@ jobs:
if: ${{ steps.service-changed.outputs.result == 'true' }}
uses: gradle/gradle-build-action@v2.1.3
with:
- arguments: test -PslimTests
+ arguments: --no-configuration-cache test -PslimTests
- name: (Fail-only) Upload test report
if: failure()
@@ -103,11 +103,11 @@ jobs:
- name: Set up JDK
if: ${{ steps.service-changed.outputs.result == 'true' }}
- uses : actions/setup-java@v2.4.0
- with :
- distribution : 'zulu'
- java-version : '17'
- cache: 'gradle'
+ uses: actions/setup-java@v2.4.0
+ with:
+ distribution: zulu
+ java-version: 17
+ cache: gradle
- name: Copy CI gradle.properties
if: ${{ steps.service-changed.outputs.result == 'true' }}
@@ -117,7 +117,7 @@ jobs:
if: ${{ steps.service-changed.outputs.result == 'true' }}
uses: gradle/gradle-build-action@v2.1.3
with:
- arguments: assembleFreeDebug assembleNonFreeDebug
+ arguments: --no-configuration-cache assembleFreeDebug assembleNonFreeDebug
check-api:
runs-on: ubuntu-latest
@@ -138,11 +138,11 @@ jobs:
- name: Set up JDK
if: ${{ steps.service-changed.outputs.result == 'true' }}
- uses : actions/setup-java@v2.4.0
- with :
- distribution : 'zulu'
- java-version : '17'
- cache: 'gradle'
+ uses: actions/setup-java@v2.4.0
+ with:
+ distribution: zulu
+ java-version: 17
+ cache: gradle
- name: Copy CI gradle.properties
if: ${{ steps.service-changed.outputs.result == 'true' }}
@@ -152,7 +152,7 @@ jobs:
if: ${{ steps.service-changed.outputs.result == 'true' }}
uses: gradle/gradle-build-action@v2.1.3
with:
- arguments: apiCheck
+ arguments: --no-configuration-cache apiCheck
lint-debug:
runs-on: ubuntu-latest
@@ -173,11 +173,11 @@ jobs:
- name: Set up JDK
if: ${{ steps.service-changed.outputs.result == 'true' }}
- uses : actions/setup-java@v2.4.0
- with :
- distribution : 'zulu'
- java-version : '17'
- cache: 'gradle'
+ uses: actions/setup-java@v2.4.0
+ with:
+ distribution: zulu
+ java-version: 17
+ cache: gradle
- name: Copy CI gradle.properties
if: ${{ steps.service-changed.outputs.result == 'true' }}
@@ -187,4 +187,4 @@ jobs:
if: ${{ steps.service-changed.outputs.result == 'true' }}
uses: gradle/gradle-build-action@v2.1.3
with:
- arguments: lintDebug
+ arguments: --no-configuration-cache lintDebug