Skip to content

Commit 051ad37

Browse files
committed
updated sonarcloud workflow to use compilation database from build wrapper
1 parent d759344 commit 051ad37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,5 @@ jobs:
9797
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Put the name of your token here
9898
run: |
9999
sonar-scanner \
100-
--define sonar.cfamily.build-wrapper-output="${{ env.BUILD_WRAPPER_OUT_DIR }}" \
100+
--define sonar.cfamily.compile-commands="${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json" \
101101
-Dsonar.coverageReportPaths=artifact/sonarqube-generic-coverage.xml

0 commit comments

Comments
 (0)