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+
4+ name : " CodeQL Analysis"
5+
6+ on :
7+ push :
8+ branches :
9+ - main
10+ - develop
11+ paths-ignore :
12+ - ' **.md'
13+ - ' LICENSE'
14+ pull_request :
15+ # The branches below must be a subset of the branches above
16+ branches :
17+ - main
18+ - develop
19+ paths-ignore :
20+ - ' **.md'
21+ - ' LICENSE'
22+
23+ # Allow manual scheduling
24+ workflow_dispatch :
25+
26+ jobs :
27+ analyze :
28+ name : Analysis
29+ runs-on : windows-latest
30+ permissions :
31+ actions : read
32+ contents : read
33+ security-events : write
34+
35+ strategy :
36+ fail-fast : false
37+ matrix :
38+ language : [ 'cpp' ]
39+
40+ steps :
41+ - name : Checkout repository
42+ uses : actions/checkout@v4
43+ with :
44+ submodules : ' recursive'
45+ - name : Install Nuget Packages
46+ run : nuget restore .\packages.config -PackagesDirectory .\packages\
47+
48+ - name : Initialize CodeQL
49+ uses : github/codeql-action/init@v3
50+ with :
51+ languages : ${{ matrix.language }}
52+ config-file : microsoft/Windows-Driver-Developer-Supplemental-Tools/config/codeql-config.yml@development
53+ packs : +microsoft/windows-drivers@1.2.0-beta
54+ - name : Retrieve and build all available solutions
55+ run : |
56+ msbuild FrameworkSensors\FrameworkSensors.sln /property:Configuration=Debug /property:Platform=x64
57+
58+ - name : Perform CodeQL analysis
59+ uses : github/codeql-action/analyze@v3
60+ with :
61+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments