File tree Expand file tree Collapse file tree 2 files changed +4
-26
lines changed
Expand file tree Collapse file tree 2 files changed +4
-26
lines changed Original file line number Diff line number Diff line change 77 pull_request :
88 branches : [ "main" ]
99 schedule :
10- - cron : ' 33 1 * * 2'
10+ - cron : ' 33 1 * * 2' # Run at 1:33 on Tuesdays
1111
1212jobs :
1313 analyze :
1414 name : Analyze (${{ matrix.language }})
15- # Runner size impacts CodeQL analysis time. To learn more, please see:
16- # - https://gh.io/recommended-hardware-resources-for-running-codeql
17- # - https://gh.io/supported-runners-and-hardware-resources
18- # - https://gh.io/using-larger-runners (GitHub.com only)
19- # Consider using larger runners or machines with greater resources for possible analysis time improvements.
2015 runs-on : windows-latest
2116 permissions :
2217 packages : read
5449 # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
5550 # queries: security-extended,security-and-quality
5651
57- # - name: Autobuild
58- # uses: github/codeql-action/autobuild@4f3212b61783c3c68e8309a0f18a699764811cda # v3.27.1
52+ - name : Autobuild
53+ uses : github/codeql-action/autobuild@4f3212b61783c3c68e8309a0f18a699764811cda # v3.27.1
5954
6055 - name : Perform CodeQL Analysis
6156 id : analyze
6661 - name : Upload CodeQL Analysis Results
6762 uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
6863 with :
69- path : ${{ steps.analyze.outputs.sarif-output }}
64+ path : ${{ steps.analyze.outputs.sarif-output }}
Original file line number Diff line number Diff line change @@ -32,29 +32,12 @@ jobs:
3232 with :
3333 submodules : ' recursive'
3434
35- - name : Initialize CodeQL
36- uses : github/codeql-action/init@396bb3e45325a47dd9ef434068033c6d5bb0d11a # v3.27.3
37- with :
38- languages : " cpp"
39-
4035 - name : " Build"
4136 shell : pwsh
4237 run : |
4338 $path = & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property installationPath
4439 & $path\MSBuild\Current\Bin\amd64\msbuild.exe /m /p:Configuration="${{matrix.configuration}}" /p:Platform="${{matrix.platform}}" mapistub.sln
4540
46- - name : Perform CodeQL Analysis
47- id : analyze
48- uses : github/codeql-action/analyze@396bb3e45325a47dd9ef434068033c6d5bb0d11a # v3.27.3
49- with :
50- category : " /language:cpp"
51-
52- - name : Upload CodeQL Analysis Results
53- uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
54- with :
55- name : codeql-results-${{ matrix.configuration }}-${{ matrix.platform }}
56- path : ${{ steps.analyze.outputs.sarif-output }}
57-
5841 publish-test-results :
5942 name : " Publish Tests Results"
6043 needs : build
You can’t perform that action at this time.
0 commit comments