Skip to content

Commit 693b2b5

Browse files
author
SonarTech
committed
Update GH Action
1 parent 6bb2f91 commit 693b2b5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ jobs:
3434
msbuild test2\test2.vcxproj
3535
- name: Run tests with coverage
3636
run: >
37-
vstest.console.exe test1\*\test1.dll test2\*\test2.dll
38-
/EnableCodeCoverage
39-
/Collect:"Code Coverage;Format=Xml"
37+
vstest.console.exe test1\*\test1.dll test2\*\test2.dll
38+
/EnableCodeCoverage
39+
/Collect:"Code Coverage;Format=Xml"
4040
/ResultsDirectory:"${{ env.COVERAGE_RESULTS }}"
4141
- name: SonarQube Scan
4242
uses: SonarSource/sonarqube-scan-action@9e3b4566ddf746ecad637e9e760676f10e8229d6
4343
env:
4444
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }} # Put the name of your token here
45-
with:
46-
args: >
47-
--define sonar.cfamily.compile-commands="${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json"
45+
with:
46+
args: >
47+
--define sonar.cfamily.compile-commands=${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json
4848
--define sonar.cfamily.vscoveragexml.reportsPath="${{ env.COVERAGE_RESULTS }}/*/*.xml"

0 commit comments

Comments
 (0)