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"