From 0da144322a1eac4ac0fb4792dfa6c412e2f2d761 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Thu, 2 Sep 2021 21:54:55 -0700 Subject: [PATCH] Meta: Remove sonar cloud pipeline cache The cache is saving, but by the time we run again, it looks like the cache has been purged from other jobs consuming the cache. This causes the cache to fail restore. Given we run nightly and there is no time bound, we can just run without cache. --- .github/workflows/sonar-cloud-static-analysis.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.github/workflows/sonar-cloud-static-analysis.yml b/.github/workflows/sonar-cloud-static-analysis.yml index c57d50e086b..e229d3fb57a 100644 --- a/.github/workflows/sonar-cloud-static-analysis.yml +++ b/.github/workflows/sonar-cloud-static-analysis.yml @@ -27,15 +27,6 @@ jobs: with: java-version: 11 - # The sonar cache appears to be about ~450 MB - - name: Cache SonarCloud packages and analysis - uses: actions/cache@v2 - id: sonarcloud-cache - with: - path: ~/.sonar - key: ${{ runner.os }}-sonar-${{ env.SONAR_SCANNER_VERSION }} - restore-keys: ${{ runner.os }}-sonar-${{ env.SONAR_SCANNER_VERSION }} - - name: Download and set up sonar-scanner env: SONAR_SCANNER_DOWNLOAD_URL: https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${{ env.SONAR_SCANNER_VERSION }}-linux.zip