Skip to content

Commit 30b94f2

Browse files
GitHub Actions: update MSVC code analysis
Use DiligentGraphics/msvc-code-analysis-action Add CMake dependencies to the ignore list
1 parent 3f26c77 commit 30b94f2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/msvc_analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
build-args: ${{ matrix.build_args }}
5454

5555
- name: Run MSVC Code Analysis
56-
uses: microsoft/msvc-code-analysis-action@v0.1.1
56+
uses: DiligentGraphics/msvc-code-analysis-action@main
5757
# Provide a unique ID to access the sarif output path
5858
id: run-analysis
5959
with:
@@ -62,7 +62,7 @@ jobs:
6262
# Ruleset file that will determine what checks will be run
6363
ruleset: NativeRecommendedRules.ruleset
6464
# Paths to ignore analysis of CMake targets and includes
65-
ignoredPaths: '${{ github.workspace }}/DiligentCore;${{ github.workspace }}/DiligentTools;${{ github.workspace }}/DiligentFX;${{ github.workspace }}/DiligentSamples/ThirdParty'
65+
ignoredPaths: '${{ github.workspace }}/DiligentCore;${{ github.workspace }}/DiligentTools;${{ github.workspace }}/DiligentFX;${{ github.workspace }}/DiligentSamples/ThirdParty;${{ env.DILIGENT_BUILD_DIR }}/_deps'
6666

6767
# Upload SARIF file to GitHub Code Scanning Alerts
6868
- name: Upload SARIF to GitHub

0 commit comments

Comments
 (0)