Skip to content

Commit ba91c65

Browse files
Merge pull request #40 from microsoft/u/sgriffin/codeql
U/sgriffin/codeql
2 parents 672b05c + 8763609 commit ba91c65

File tree

2 files changed

+4
-26
lines changed

2 files changed

+4
-26
lines changed

.github/workflows/codeql.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,11 @@ on:
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

1212
jobs:
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
@@ -54,8 +49,8 @@ jobs:
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
@@ -66,4 +61,4 @@ jobs:
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 }}

.github/workflows/github-ci.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)