Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Commit 9ed4bb3

Browse files
Bump github/codeql-action from 3.28.18 to 3.29.2 (#57)
1 parent 6c44c5a commit 9ed4bb3

2 files changed

Lines changed: 128 additions & 128 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,66 @@
1-
# Copyright (c) Microsoft Corporation.
2-
# Licensed under the MIT License.
3-
#
4-
# http://go.microsoft.com/fwlink/?LinkId=271568
5-
6-
name: "CodeQL"
7-
8-
on:
9-
push:
10-
branches: "main"
11-
paths-ignore:
12-
- '*.md'
13-
- LICENSE
14-
- '.azuredevops/**'
15-
- '.nuget/*'
16-
pull_request:
17-
branches: "main"
18-
paths-ignore:
19-
- '*.md'
20-
- LICENSE
21-
- '.azuredevops/**'
22-
- '.nuget/*'
23-
schedule:
24-
- cron: '21 22 * * 6'
25-
26-
permissions:
27-
contents: read
28-
29-
jobs:
30-
analyze:
31-
name: Analyze (C/C++)
32-
runs-on: windows-latest
33-
timeout-minutes: 360
34-
permissions:
35-
actions: read # for github/codeql-action/init to get workflow details
36-
contents: read # for actions/checkout to fetch code
37-
security-events: write # for github/codeql-action/autobuild to send a status report
38-
packages: read
39-
40-
steps:
41-
- name: Checkout repository
42-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
43-
44-
- name: 'Install Ninja'
45-
run: choco install ninja
46-
47-
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
48-
49-
- name: Initialize CodeQL
50-
uses: github/codeql-action/init@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
51-
with:
52-
languages: c-cpp
53-
build-mode: manual
54-
55-
- name: 'Configure CMake'
56-
working-directory: ${{ github.workspace }}
57-
run: cmake --preset=x64-Debug
58-
59-
- name: 'Build'
60-
working-directory: ${{ github.workspace }}
61-
run: cmake --build out\build\x64-Debug
62-
63-
- name: Perform CodeQL Analysis
64-
uses: github/codeql-action/analyze@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
65-
with:
66-
category: "/language:c-cpp"
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
3+
#
4+
# http://go.microsoft.com/fwlink/?LinkId=271568
5+
6+
name: "CodeQL"
7+
8+
on:
9+
push:
10+
branches: "main"
11+
paths-ignore:
12+
- '*.md'
13+
- LICENSE
14+
- '.azuredevops/**'
15+
- '.nuget/*'
16+
pull_request:
17+
branches: "main"
18+
paths-ignore:
19+
- '*.md'
20+
- LICENSE
21+
- '.azuredevops/**'
22+
- '.nuget/*'
23+
schedule:
24+
- cron: '21 22 * * 6'
25+
26+
permissions:
27+
contents: read
28+
29+
jobs:
30+
analyze:
31+
name: Analyze (C/C++)
32+
runs-on: windows-latest
33+
timeout-minutes: 360
34+
permissions:
35+
actions: read # for github/codeql-action/init to get workflow details
36+
contents: read # for actions/checkout to fetch code
37+
security-events: write # for github/codeql-action/autobuild to send a status report
38+
packages: read
39+
40+
steps:
41+
- name: Checkout repository
42+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
43+
44+
- name: 'Install Ninja'
45+
run: choco install ninja
46+
47+
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
48+
49+
- name: Initialize CodeQL
50+
uses: github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
51+
with:
52+
languages: c-cpp
53+
build-mode: manual
54+
55+
- name: 'Configure CMake'
56+
working-directory: ${{ github.workspace }}
57+
run: cmake --preset=x64-Debug
58+
59+
- name: 'Build'
60+
working-directory: ${{ github.workspace }}
61+
run: cmake --build out\build\x64-Debug
62+
63+
- name: Perform CodeQL Analysis
64+
uses: github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
65+
with:
66+
category: "/language:c-cpp"

.github/workflows/msvc.yml

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,62 @@
1-
# Copyright (c) Microsoft Corporation.
2-
# Licensed under the MIT License.
3-
#
4-
# http://go.microsoft.com/fwlink/?LinkId=271568
5-
6-
name: Microsoft C++ Code Analysis
7-
8-
on:
9-
push:
10-
branches: "main"
11-
paths-ignore:
12-
- '*.md'
13-
- '.azuredevops/**'
14-
- LICENSE
15-
- '.nuget/*'
16-
pull_request:
17-
branches: "main"
18-
paths-ignore:
19-
- '*.md'
20-
- '.azuredevops/**'
21-
- LICENSE
22-
- '.nuget/*'
23-
schedule:
24-
- cron: '20 21 * * 2'
25-
26-
permissions:
27-
contents: read
28-
29-
jobs:
30-
analyze:
31-
permissions:
32-
contents: read
33-
security-events: write
34-
actions: read
35-
name: Analyze
36-
runs-on: windows-latest
37-
38-
steps:
39-
- name: Checkout repository
40-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
41-
42-
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
43-
with:
44-
arch: amd64
45-
46-
- name: Configure CMake
47-
working-directory: ${{ github.workspace }}
48-
run: cmake -B out -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON
49-
50-
- name: Initialize MSVC Code Analysis
51-
uses: microsoft/msvc-code-analysis-action@24c285ab36952c9e9182f4b78dfafbac38a7e5ee # v0.1.1
52-
id: run-analysis
53-
with:
54-
cmakeBuildDirectory: ./out
55-
buildConfiguration: Debug
56-
ruleset: NativeRecommendedRules.ruleset
57-
58-
# Upload SARIF file to GitHub Code Scanning Alerts
59-
- name: Upload SARIF to GitHub
60-
uses: github/codeql-action/upload-sarif@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
61-
with:
62-
sarif_file: ${{ steps.run-analysis.outputs.sarif }}
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
3+
#
4+
# http://go.microsoft.com/fwlink/?LinkId=271568
5+
6+
name: Microsoft C++ Code Analysis
7+
8+
on:
9+
push:
10+
branches: "main"
11+
paths-ignore:
12+
- '*.md'
13+
- '.azuredevops/**'
14+
- LICENSE
15+
- '.nuget/*'
16+
pull_request:
17+
branches: "main"
18+
paths-ignore:
19+
- '*.md'
20+
- '.azuredevops/**'
21+
- LICENSE
22+
- '.nuget/*'
23+
schedule:
24+
- cron: '20 21 * * 2'
25+
26+
permissions:
27+
contents: read
28+
29+
jobs:
30+
analyze:
31+
permissions:
32+
contents: read
33+
security-events: write
34+
actions: read
35+
name: Analyze
36+
runs-on: windows-latest
37+
38+
steps:
39+
- name: Checkout repository
40+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
41+
42+
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
43+
with:
44+
arch: amd64
45+
46+
- name: Configure CMake
47+
working-directory: ${{ github.workspace }}
48+
run: cmake -B out -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON
49+
50+
- name: Initialize MSVC Code Analysis
51+
uses: microsoft/msvc-code-analysis-action@24c285ab36952c9e9182f4b78dfafbac38a7e5ee # v0.1.1
52+
id: run-analysis
53+
with:
54+
cmakeBuildDirectory: ./out
55+
buildConfiguration: Debug
56+
ruleset: NativeRecommendedRules.ruleset
57+
58+
# Upload SARIF file to GitHub Code Scanning Alerts
59+
- name: Upload SARIF to GitHub
60+
uses: github/codeql-action/upload-sarif@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
61+
with:
62+
sarif_file: ${{ steps.run-analysis.outputs.sarif }}

0 commit comments

Comments
 (0)