File tree 2 files changed +2
-2
lines changed 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ jobs:
201
201
run : |
202
202
$inspectCodeOutputPath = Join-Path $env:RUNNER_TEMP 'jetbrains-inspectcode-results.xml'
203
203
Write-Output "INSPECT_CODE_OUTPUT_PATH=$inspectCodeOutputPath" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
204
- dotnet jb inspectcode JsonApiDotNetCore.sln --build --dotnetcoresdk=$(dotnet --version) --output="$inspectCodeOutputPath" --profile=WarningSeverities.DotSettings --properties:Configuration=Release --properties:ContinuousIntegrationBuild=false --severity=WARNING --verbosity=WARN -dsl=GlobalAll -dsl=GlobalPerProduct -dsl=SolutionPersonal -dsl=ProjectPersonal
204
+ dotnet jb inspectcode JsonApiDotNetCore.sln --build --dotnetcoresdk=$(dotnet --version) --output="$inspectCodeOutputPath" --profile=WarningSeverities.DotSettings --properties:Configuration=Release --properties:ContinuousIntegrationBuild=false --properties:RunAnalyzers=false -- severity=WARNING --verbosity=WARN -dsl=GlobalAll -dsl=GlobalPerProduct -dsl=SolutionPersonal -dsl=ProjectPersonal
205
205
- name : Verify outcome
206
206
shell : pwsh
207
207
run : |
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ if ($LastExitCode -ne 0) {
10
10
11
11
$outputPath = [System.IO.Path ]::Combine([System.IO.Path ]::GetTempPath(), ' jetbrains-inspectcode-results.xml' )
12
12
$resultPath = [System.IO.Path ]::Combine([System.IO.Path ]::GetTempPath(), ' jetbrains-inspectcode-results.html' )
13
- dotnet jb inspectcode JsonApiDotNetCore.sln -- dotnetcoresdk= $ (dotnet -- version) -- build -- output= " $outputPath " -- profile= WarningSeverities.DotSettings -- properties:Configuration= Release -- severity= WARNING -- verbosity= WARN - dsl= GlobalAll - dsl= GlobalPerProduct - dsl= SolutionPersonal - dsl= ProjectPersonal
13
+ dotnet jb inspectcode JsonApiDotNetCore.sln -- dotnetcoresdk= $ (dotnet -- version) -- build -- output= " $outputPath " -- profile= WarningSeverities.DotSettings -- properties:Configuration= Release -- properties:RunAnalyzers = false -- severity= WARNING -- verbosity= WARN - dsl= GlobalAll - dsl= GlobalPerProduct - dsl= SolutionPersonal - dsl= ProjectPersonal
14
14
15
15
if ($LastExitCode -ne 0 ) {
16
16
throw " Code inspection failed with exit code $LastExitCode "
You can’t perform that action at this time.
0 commit comments