From 1dd10dc47fb3fbc612564e2589471fb67a2e4d82 Mon Sep 17 00:00:00 2001 From: SonarTech Date: Tue, 16 Sep 2025 11:42:43 +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 2e95971..fd45f4d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: mkdir build cmake -S . -B build - name: SonarQube Scan - uses: SonarSource/sonarqube-scan-action@v4 + uses: SonarSource/sonarqube-scan-action@9e3b4566ddf746ecad637e9e760676f10e8229d6 env: SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }} SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} # SonarQube URL is stored in a GitHub secret From 0da10d296bf03ebd070728e90903eaf863473250 Mon Sep 17 00:00:00 2001 From: SonarTech Date: Tue, 16 Sep 2025 15:31:12 +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 fd45f4d..bf09ee9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,5 +23,5 @@ jobs: SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }} SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} # SonarQube URL is stored in a GitHub secret with: - args: > + args: > --define sonar.cfamily.compile-commands=build/compile_commands.json