Skip to content

Commit 6d37603

Browse files
committed
Let's try fixing sonarscanner
1 parent 1300e4e commit 6d37603

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/sonar.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)