diff --git a/.github/workflows/code-analyze.yaml b/.github/workflows/code-analyze.yaml index 2bc7500..3e87322 100644 --- a/.github/workflows/code-analyze.yaml +++ b/.github/workflows/code-analyze.yaml @@ -25,6 +25,7 @@ jobs: sonarHostname: ${{ secrets.SONAR_HOST_URL }} dotnetPreBuildCmd: dotnet nuget add source --name="Winsomnia" --username ${{ secrets.NUGET_USERNAME }} --password ${{ secrets.NUGET_PASSWORD }} --store-password-in-clear-text ${{ secrets.NUGET_ADDRESS }} && dotnet format --verify-no-changes --diagnostics -v diag --severity warn dotnetTestArguments: --logger trx --collect:"XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover + dotnetBuildArguments: -c Release sonarBeginArguments: /d:sonar.cs.opencover.reportsPaths="**/TestResults/**/coverage.opencover.xml" -d:sonar.cs.vstest.reportsPaths="**/TestResults/*.trx" env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file