Skip to content

Commit 0825860

Browse files
authored
Try suggestion from Sonar Community
1 parent 8913189 commit 0825860

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎.github/workflows/quality.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4949
shell: powershell
5050
run: |
51+
$ErrorActionPreference = "Stop"
5152
.\.sonar\scanner\dotnet-sonarscanner begin /k:"rufer7_github-sonarcloud-integration" /o:"rufer7" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.projectBaseDir="D:\a\github-sonarcloud-integration\github-sonarcloud-integration" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml
5253
dotnet build .\src\ArbitrarySolution.sln --configuration Release
5354
dotnet-coverage collect 'dotnet test .\src\ArbitraryProject.Tests\ArbitraryProject.Tests.csproj' -f xml -o 'coverage.xml'

0 commit comments

Comments
 (0)