Skip to content

Commit 2e5d1d3

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 d759344 + 051ad37 commit 2e5d1d3

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)