summaryrefslogtreecommitdiff
path: root/.github/workflows/Code-Scanning.yml
diff options
context:
space:
mode:
authorya-solnyshko <[email protected]>2024-12-29 18:38:40 +0100
committerGitHub <[email protected]>2024-12-29 18:38:40 +0100
commit3dbe73da0848fce170ff4f59459bc597f0d0cd34 (patch)
tree878510e10356226b2b529cac769be4c3573f5ef9 /.github/workflows/Code-Scanning.yml
parentd0b2ae23542a22bdddcb30c9d82d89c614027faa (diff)
parent57ecdd5d16347ef3bc1348a164ce90288c44c243 (diff)
Merge branch 'main' into fix-transaction-processing
Diffstat (limited to '.github/workflows/Code-Scanning.yml')
-rw-r--r--.github/workflows/Code-Scanning.yml54
1 files changed, 28 insertions, 26 deletions
diff --git a/.github/workflows/Code-Scanning.yml b/.github/workflows/Code-Scanning.yml
index a18bcf95..72e9c32c 100644
--- a/.github/workflows/Code-Scanning.yml
+++ b/.github/workflows/Code-Scanning.yml
@@ -8,11 +8,17 @@ on:
branches:
- main
- develop
+ paths-ignore:
+ - '**.md'
+ - 'LICENSE'
pull_request:
# The branches below must be a subset of the branches above
branches:
- main
- develop
+ paths-ignore:
+ - '**.md'
+ - 'LICENSE'
# Allow manual scheduling
workflow_dispatch:
@@ -32,31 +38,27 @@ jobs:
language: [ 'cpp' ]
steps:
- - name: Checkout repository
- uses: actions/checkout@v4
- with:
- submodules: 'recursive'
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ with:
+ submodules: 'recursive'
+ - name: Install Nuget Packages
+ run: nuget restore .\packages.config -PackagesDirectory .\packages\
- - name: Initialize CodeQL
- uses: github/codeql-action/init@v3
- with:
- languages: ${{ matrix.language }}
- packs: microsoft/windows-drivers
- - name: Add MSBuild to PATH
- uses: microsoft/setup-msbuild@v2
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v3
+ with:
+ languages: ${{ matrix.language }}
+ config-file: microsoft/Windows-Driver-Developer-Supplemental-Tools/config/codeql-config.yml@development
+ packs: +microsoft/[email protected]
+ - name: Retrieve and build all available solutions
+ run: .\Build-AllSamples.ps1 -Verbose -ThrottleLimit 1
+ env:
+ WDS_Configuration: Debug
+ WDS_Platform: x64
+ WDS_WipeOutputs: ${{ true }}
- - name: Retrieve and build all available solutions
- run: |
- .\Build-AllSamples.ps1 -Verbose -ThrottleLimit 1
- env:
- WDS_Configuration: Debug
- WDS_Platform: x64
- WDS_WipeOutputs: ${{ true }}
-
- - name: Perform CodeQL analysis
- uses: github/codeql-action/analyze@v3
- with:
- category: "/language:${{matrix.language}}"
-
-
-
+ - name: Perform CodeQL analysis
+ uses: github/codeql-action/analyze@v3
+ with:
+ category: "/language:${{matrix.language}}"