Disable cache on CI

Right now it takes more time to download
cache than it is to actually build from scratch
This commit is contained in:
Kirill Kamakin
2022-06-12 19:58:37 +02:00
parent daac06fa1f
commit 564d088085
2 changed files with 2 additions and 30 deletions

View File

@@ -10,25 +10,11 @@ jobs:
with:
fetch-depth: 0
- name: Cache SonarCloud packages
uses: actions/cache@v1
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Gradle packages
uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Run tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./gradlew check coverageReport sonarqube --no-daemon --no-configuration-cache
run: ./gradlew check coverageReport sonarqube --no-daemon --no-configuration-cache --no-build-cache
- name: Publish test reports
uses: mikepenz/action-junit-report@v2