From 92fcda433b1fc54f55590ef53c71aa4e5996bb1f Mon Sep 17 00:00:00 2001 From: Jan Klattenhoff Date: Wed, 25 Sep 2024 10:40:41 +0200 Subject: [PATCH] build: update Gradle setup in CI workflow file --- .gitea/workflows/qs.yml | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/.gitea/workflows/qs.yml b/.gitea/workflows/qs.yml index d1f7746..09536ee 100644 --- a/.gitea/workflows/qs.yml +++ b/.gitea/workflows/qs.yml @@ -12,16 +12,8 @@ jobs: steps: - name: "Checkout" uses: actions/checkout@v3 - - uses: actions/cache@v3 - with: - 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: Setup Gradle + uses: gradle/gradle-build-action@v2 - name: "Check" run: gradle testClasses - name: "Stop Gradle" @@ -34,16 +26,8 @@ jobs: steps: - name: "Checkout" uses: actions/checkout@v3 - - uses: actions/cache@v3 - with: - 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: Setup Gradle + uses: gradle/gradle-build-action@v2 - name: "Check" run: gradle check - name: "Stop Gradle"