Skip to content

Commit 929cecd

Browse files
GitHub Actions: update MSVC code analysis
Use DiligentGraphics/msvc-code-analysis-action Add CMake dependencies to the ignore list
1 parent cc4a236 commit 929cecd

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
@@ -50,7 +50,7 @@ jobs:
5050
uses: DiligentGraphics/github-action/build@v14
5151

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

6464
# Upload SARIF file to GitHub Code Scanning Alerts
6565
- name: Upload SARIF to GitHub

0 commit comments

Comments
 (0)