path: |
~/.ccache
~/.sonar-cache
- key: ccache-sonarcloud-${{ github.ref }}:${{ github.sha }}
+ key: ccache-sonarcloud-${{ github.sha }}
restore-keys: |
- ccache-sonarcloud-${{ github.ref }}:
ccache-sonarcloud-
- run: |
sudo apt-get install -qq ccache
# for C builds, so we follow the "any CI" instructions
- name: Install sonar-scanner
env:
- SONAR_SCANNER_VERSION: 4.4.0.2170
+ SONAR_SCANNER_VERSION: 4.6.2.2472
run: |
export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux
curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux.zip