diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 1b4019565b..f5a710ae55 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -47,17 +47,11 @@ jobs: run: | cmake -S c -B build -DCODE_COVERAGE=ON -DCMAKE_C_FLAGS=--coverage -DCMAKE_CXX_FLAGS=--coverage && build-wrapper-linux-x86-64 --out-dir ./bw-output cmake --build build -j8 --target ccov-all-export && - pwd && - cat ./bw-output/build-wrapper-dump.json && - sed -i "s:$(pwd):/github/workspace:g" ./bw-output/build-wrapper-dump.json && - cat ./bw-output/build-wrapper-dump.json - name: Run sonar-scanner - uses: sonarsource/sonarcloud-github-action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_C }} - with: - args: + run: sonar-scanner -X -Dsonar.organization=swift-nav -Dsonar.projectName=libsbp-c