Skip to content

Commit 57ce183

Browse files
authored
Merge pull request #2 from mccaffers/1-property-sonarcfamilybuild-wrapper-output-is-deprecated-build-wrapper-now-generates-a-compilation-database
updated sonarcloud workflow to use compilation database from build wr…
2 parents 647ce46 + beae070 commit 57ce183

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.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)