File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ jobs:
1515 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1616 with :
1717 fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
18- - name : Install sonar-scanner and build-wrapper
19- uses : SonarSource/sonarcloud-github-c-cpp@44cc4d3d487fbc35e5c29b0a9d717be218d3a0e8 # v3.2.0
20- - name : Run sonar-scanner
21- env :
22- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
23- SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
18+ - name : Install bear
19+ run : sudo apt install -y bear
20+ - name : Generate compilation database
2421 run : |
25- sudo apt install -y bear
2622 make -C src clean
2723 bear -- make -C src
28- sonar-scanner
24+ - name : SonarCloud Scan
25+ uses : SonarSource/sonarqube-scan-action@v5.0.0
26+ env :
27+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
You can’t perform that action at this time.
0 commit comments