From 7734d606b58186e3709190a56efc2d399378baff Mon Sep 17 00:00:00 2001 From: SonarTech Date: Tue, 16 Sep 2025 11:42:24 +0200 Subject: [PATCH 1/3] Test GH Action --- .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 7108763..62efacd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,7 +39,7 @@ jobs: run: | &"C:\Program Files\OpenCppCoverage\OpenCppCoverage.exe" --cover_children --sources=$(pwd) --modules test*\*\test*.dll "--export_type=cobertura:cobertura.xml" -- vstest.console.exe test1\*\test1.dll test2\*\test2.dll - name: SonarQube Scan - uses: SonarSource/sonarqube-scan-action@v4 + uses: SonarSource/sonarqube-scan-action@9e3b4566ddf746ecad637e9e760676f10e8229d6 env: SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }} # Put the name of your token here with: From fcbcc780514a18a87e308ed9ee468336d800b8c2 Mon Sep 17 00:00:00 2001 From: SonarTech Date: Tue, 16 Sep 2025 15:31:43 +0200 Subject: [PATCH 2/3] Update GH Action --- .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 62efacd..5074314 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,5 +44,5 @@ jobs: SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }} # Put the name of your token here with: args: > - --define sonar.cfamily.compile-commands="${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json" + --define sonar.cfamily.compile-commands=${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json --define sonar.cfamily.cobertura.reportPaths="cobertura.xml" From 163d3660e5e62a7fb672d828970abd906c8bb993 Mon Sep 17 00:00:00 2001 From: SonarTech Date: Tue, 16 Sep 2025 15:37:25 +0200 Subject: [PATCH 3/3] Update GH Action --- .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 5074314..9b1763f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,4 +45,4 @@ jobs: with: args: > --define sonar.cfamily.compile-commands=${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json - --define sonar.cfamily.cobertura.reportPaths="cobertura.xml" + --define sonar.cfamily.cobertura.reportPaths=cobertura.xml