diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index c3fc74e165..940df57651 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -40,29 +40,6 @@ jobs: with: key: sonarcloud-${{ env.SONAR_SCANNER_VERSION }} - - name: Cache SonarCloud packages and analysis - uses: actions/cache@v3 - 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 setup build-wrapper - shell: bash - env: - BUILD_WRAPPER_DOWNLOAD_URL: ${{ env.SONAR_SERVER_URL }}/static/cpp/build-wrapper-linux-x86.zip - if: steps.sonarcloud-cache.outputs.cache-hit != 'true' - run: | - curl -sSLo $HOME/.sonar/build-wrapper-linux-x86.zip ${{ env.BUILD_WRAPPER_DOWNLOAD_URL }} - unzip -o $HOME/.sonar/build-wrapper-linux-x86.zip -d $HOME/.sonar/ - - - name: Set build-wrapper and sonar-scanner paths - run: | - echo "$HOME/.sonar/build-wrapper-linux-x86" >> $GITHUB_PATH - echo "$HOME/.sonar/sonar-scanner-${{ env.SONAR_SCANNER_VERSION }}-linux/bin" >> $GITHUB_PATH - - - name: Install libraries run: | sudo apt-get update