Skip to content

Commit

Permalink
[CI] Fix SARIF
Browse files Browse the repository at this point in the history
  • Loading branch information
melanchall committed Apr 28, 2024
1 parent 2b55ded commit bdb1521
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/CI/run-static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ stages:
- task: CmdLine@2
displayName: Run analysis
inputs:
script: 'jb inspectcode Melanchall.DryWetMidi.sln --properties:Configuration=DebugTest --exclude="DryWetMidi.Benchmarks\**.*" -o=ReSharperReport.xml -f="xml"'
script: 'jb inspectcode Melanchall.DryWetMidi.sln --properties:Configuration=DebugTest --exclude="DryWetMidi.Benchmarks\**.*" -o=ReSharperReport.sarif'

- task: DotNetCoreCLI@2
displayName: Convert report to HTML
inputs:
command: 'run'
projects: 'Resources/Utilities/ConvertReSharperReportToHtml/ConvertReSharperReportToHtml/ConvertReSharperReportToHtml.csproj'
arguments: '-c Release -- ReSharperReport.xml ReSharperReport.html $(Build.SourceBranchName)'
arguments: '-c Release -- ReSharperReport.sarif ReSharperReport.html $(Build.SourceBranchName)'

- task: PublishPipelineArtifact@1
displayName: Publish 'ReSharperReport' artifact
Expand Down

0 comments on commit bdb1521

Please sign in to comment.