build: update Gradle setup in CI workflow file
All checks were successful
Quality Check / Checkstyle Main (pull_request) Successful in 2m24s
Quality Check / Tests (pull_request) Successful in 1m0s

This commit is contained in:
Jan Gleytenhoover 2024-09-25 10:40:41 +02:00
parent c111b33b7d
commit 92fcda433b
Signed by: jank
GPG Key ID: B267751B8AE29EFE

@ -12,16 +12,8 @@ jobs:
steps: steps:
- name: "Checkout" - name: "Checkout"
uses: actions/checkout@v3 uses: actions/checkout@v3
- uses: actions/cache@v3 - name: Setup Gradle
with: uses: gradle/gradle-build-action@v2
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: "Prepare Gradle"
run: gradle clean
- name: "Check" - name: "Check"
run: gradle testClasses run: gradle testClasses
- name: "Stop Gradle" - name: "Stop Gradle"
@ -34,16 +26,8 @@ jobs:
steps: steps:
- name: "Checkout" - name: "Checkout"
uses: actions/checkout@v3 uses: actions/checkout@v3
- uses: actions/cache@v3 - name: Setup Gradle
with: uses: gradle/gradle-build-action@v2
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: "Prepare Gradle"
run: gradle clean
- name: "Check" - name: "Check"
run: gradle check run: gradle check
- name: "Stop Gradle" - name: "Stop Gradle"