File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1- name : Ubuntu - SonarCloud
1+ name : Static Analysis
22
33on :
44 push :
99jobs :
1010 build-ubuntu :
1111 runs-on : ${{ matrix.os }}
12- name : ${{ matrix.name }}
12+ name : 🌞 Static Analysis - SonarCloud
1313 strategy :
1414 matrix :
1515 include :
16- # Ubuntu 20.04 + gcc-9
17- - name : " Ubuntu 20.04 + gcc-9 "
16+ # Ubuntu 20.04 + gcc-10
17+ - name : " Ubuntu 20.04 + gcc-10 "
1818 os : ubuntu-20.04
1919 compiler : gcc
20- version : " 9 "
20+ version : " 10 "
2121 steps :
2222 - uses : actions/checkout@v2
2323 with :
2424 submodules : true
2525 - name : Prepare Sonar scanner
2626 run : |
27- wget -nv https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.6 .0.2311 -linux.zip
28- unzip -q sonar-scanner-cli-4.6 .0.2311 -linux.zip
29- echo "${PWD}/sonar-scanner-4.6 .0.2311 -linux/bin/" >> $GITHUB_PATH
27+ wget -nv https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.7 .0.2747 -linux.zip
28+ unzip -q sonar-scanner-cli-4.7 .0.2747 -linux.zip
29+ echo "${PWD}/sonar-scanner-4.7 .0.2747 -linux/bin/" >> $GITHUB_PATH
3030 wget -nv https://sonarcloud.io/static/cpp/build-wrapper-linux-x86.zip
3131 unzip -q build-wrapper-linux-x86.zip
3232 echo "${PWD}/build-wrapper-linux-x86" >> $GITHUB_PATH
6262 run : sonar-scanner -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=utilforever-github -Dsonar.login=$SONAR_TOKEN
6363 env :
6464 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
65- SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
65+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
You can’t perform that action at this time.
0 commit comments