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.
This commit is contained in:
Brian Gianforcaro 2021-09-02 21:54:55 -07:00 committed by Andreas Kling
parent 3ad2b39eef
commit 0da144322a
Notes: sideshowbarker 2024-07-18 04:50:28 +09:00

View file

@ -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