File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -56,17 +56,27 @@ jobs:
5656 # - name: Build CMake
5757 # run: cmake --build ${{ env.build }}
5858
59- - name : Initialize MSVC Code Analysis
60- uses : microsoft/msvc-code-analysis-action@04825f6d9e00f87422d6bf04e1a38b1f3ed60d99
59+ - name : MSVC Code Analysis
60+ uses : microsoft/msvc-code-analysis-action@v0.1.0
6161 # Provide a unique ID to access the sarif output path
6262 id : run-analysis
6363 with :
6464 cmakeBuildDirectory : ${{ env.build }}
65+ buildConfiguration : Debug
6566 # Ruleset file that will determine what checks will be run
6667 ruleset : NativeRecommendedRules.ruleset
68+ # Any includes contained inside these paths will be excluded from analysis
69+ ignoredIncludePaths : ${{ github.workspace }}/dependency
6770
6871 # Upload SARIF file to GitHub Code Scanning Alerts
6972 - name : Upload SARIF to GitHub
7073 uses : github/codeql-action/upload-sarif@v2
7174 with :
7275 sarif_file : ${{ steps.run-analysis.outputs.sarif }}
76+
77+ # Upload SARIF file as an Artifact to download and view
78+ - name : Upload SARIF as an Artifact
79+ uses : actions/upload-artifact@v2
80+ with :
81+ name : sarif-file.json
82+ path : ${{ steps.run-analysis.outputs.sarif }}
You can’t perform that action at this time.
0 commit comments