File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # This workflow runs the latest CodeQL CLI and checks against CodeQL's Cpp library.
2- # This is the source for the GitHub Security Code Scanning job.
3-
41name : " CodeQL Analysis"
52
63on :
74 push :
85 paths-ignore :
96 - ' **.md'
107 - ' LICENSE'
11-
12- # Allow manual scheduling
13- workflow_dispatch :
148
159jobs :
16- analyze :
17- name : Analysis
18- runs-on : windows-latest
10+ codeql :
11+ runs-on : windows-2022
1912 permissions :
20- actions : read
21- contents : read
2213 security-events : write
23-
24- strategy :
25- fail-fast : false
26- matrix :
27- language : [ 'cpp' ]
28-
2914 steps :
30- - name : Checkout repository
15+ - name : Check out repository code
3116 uses : actions/checkout@v4
3217
3318 - name : Initialize CodeQL
34- uses : github/codeql-action/init@v3
19+ uses : github/codeql-action/init@v4
3520 with :
3621 languages : ${{ matrix.language }}
3722 config-file : microsoft/Windows-Driver-Developer-Supplemental-Tools/config/codeql-config.yml@development
3823 packs : +microsoft/windows-drivers@1.2.0-beta
3924
40- - name : Retrieve and build all available solutions
25+ - name : Add MSBuild to PATH
26+ uses : microsoft/setup-msbuild@v2
27+
28+ - name : Build solution
4129 run : |
42- msbuild FrameworkSensors\FrameworkSensors.sln /property:Configuration=Debug /property:Platform=x64
30+ msbuild FrameworkSensors\FrameworkSensors.sln /property:Configuration=Release /property:Platform=x64
4331
4432 - name : Perform CodeQL analysis
45- uses : github/codeql-action/analyze@v3
33+ uses : github/codeql-action/analyze@v4
4634 with :
4735 category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments