nazmialtun/Parallel Sonarscanner for dotnet

Github action that runs dotnet sonar scanner in parallel with the tests jobs

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
sonar-tokenSonar token that is created by sonarcloud/sonarqube to pass scanning result to the sonarcloud/sonarqube instanceyes
coverage-solution-root-pathSource file path in the coverage result should match to the solution path on current environment.To replace it, this path should be set.yes/app
verboseEnables verbose flag for sonar scanner,in verbose mode logs are too chatty and the action works slow due to heavy outputyesfalse
sonar-host-urlURL of the sonarqube/sonarcloud instanceyeshttps://sonarcloud.io
dotnet-build-commanddotnet build command to be executedyesdotnet build -v q -nologo --configuration Release
opencover-reports-pathsPath expression that will be set to sonar.cs.opencover.reportsPathsyes/**/*.opencover.xml
vstest-reports-pathsPath expression that will be set to sonar.cs.vstest.reportsPathsyes/**/*.trx
project-keySonarcloud/Sonarqube project key.Default is {context.repo.owner}_{context.repo.name} if not setno
organizationSonarcloud/Sonarqube organization name.Default is {context.repo.owner} if not setno
project-nameSonarcloud/Sonarqube project name.Default is {context.repo.repo)} if not setno
test-result-artifactsArtifact names of test results that are going to be downloaded. Multiple artifact names should be separated with a commano
sonar-scanner-versionDotnet Sonar scanner version.Default is latest versionno
coverage-artifact-pooling-timeout-secTimeout for the pooling of coverage artifacts.Default is 900 secondsyes900

no outputs