From cd6ec738d830197e6f84721dd072c1c88baf1c0f Mon Sep 17 00:00:00 2001 From: Vincenzo Pellegrini Date: Tue, 23 Apr 2024 02:04:51 +0200 Subject: [PATCH] Migrate to sonar.cfamily.compile-commands --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0dcec39..27714e3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,5 +43,5 @@ jobs: SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }} # Put the name of your token here run: | sonar-scanner \ - --define sonar.cfamily.build-wrapper-output="${{ env.BUILD_WRAPPER_OUT_DIR }}" \ + --define sonar.cfamily.compile-commands="${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json" \ --define sonar.coverageReportPaths=coverage.xml