From 27467d068fca24f1bd03ee04ae49f6674a4c3994 Mon Sep 17 00:00:00 2001 From: SonarTech Date: Tue, 16 Sep 2025 11:42:12 +0200 Subject: [PATCH 1/2] 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 dd58cb8..cf969b2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,7 +29,7 @@ jobs: run: | bash xccov-to-generic.sh build/Logs/Test/*.xcresult/ > generic-coverage.xml - 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 f4d449d1a3ee4a805b6e41e3fff29870c8b0c834 Mon Sep 17 00:00:00 2001 From: SonarTech Date: Tue, 16 Sep 2025 15:31:28 +0200 Subject: [PATCH 2/2] 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 cf969b2..50530f8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,5 +34,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.coverageReportPaths=generic-coverage.xml