Skip to content

Commit af00e33

Browse files
Bump github/codeql-action from 3.28.16 to 3.28.19 (#253)
1 parent 891e6be commit af00e33

File tree

2 files changed

+143
-143
lines changed

2 files changed

+143
-143
lines changed

.github/workflows/codeql.yml

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

.github/workflows/msvc.yml

Lines changed: 68 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,68 @@
1-
# Copyright (c) Microsoft Corporation.
2-
# Licensed under the MIT License.
3-
#
4-
# http://go.microsoft.com/fwlink/?LinkID=615560
5-
6-
name: Microsoft C++ Code Analysis
7-
8-
on:
9-
push:
10-
branches: "main"
11-
paths-ignore:
12-
- '*.md'
13-
- LICENSE
14-
- '.azuredevops/**'
15-
- '.nuget/*'
16-
- build/*.ps1
17-
pull_request:
18-
branches: "main"
19-
paths-ignore:
20-
- '*.md'
21-
- LICENSE
22-
- '.azuredevops/**'
23-
- '.nuget/*'
24-
- build/*.ps1
25-
26-
schedule:
27-
- cron: '34 20 * * 6'
28-
29-
permissions:
30-
contents: read
31-
32-
jobs:
33-
analyze:
34-
permissions:
35-
contents: read
36-
security-events: write
37-
actions: read
38-
name: Analyze
39-
runs-on: windows-latest
40-
41-
steps:
42-
- name: Checkout repository
43-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
44-
45-
- name: Clone test repository
46-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
47-
with:
48-
repository: walbourn/directxmathtest
49-
path: Tests
50-
ref: main
51-
52-
- name: Configure CMake
53-
working-directory: ./Tests/headertest
54-
run: cmake -B out
55-
56-
- name: Initialize MSVC Code Analysis
57-
uses: microsoft/msvc-code-analysis-action@24c285ab36952c9e9182f4b78dfafbac38a7e5ee # v0.1.1
58-
id: run-analysis
59-
with:
60-
cmakeBuildDirectory: ./Tests/headertest/out
61-
buildConfiguration: Debug
62-
ruleset: NativeRecommendedRules.ruleset
63-
64-
# Upload SARIF file to GitHub Code Scanning Alerts
65-
- name: Upload SARIF to GitHub
66-
uses: github/codeql-action/upload-sarif@28deaeda66b76a05916b6923827895f2b14ab387 # v3.28.16
67-
with:
68-
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=615560
5+
6+
name: Microsoft C++ Code Analysis
7+
8+
on:
9+
push:
10+
branches: "main"
11+
paths-ignore:
12+
- '*.md'
13+
- LICENSE
14+
- '.azuredevops/**'
15+
- '.nuget/*'
16+
- build/*.ps1
17+
pull_request:
18+
branches: "main"
19+
paths-ignore:
20+
- '*.md'
21+
- LICENSE
22+
- '.azuredevops/**'
23+
- '.nuget/*'
24+
- build/*.ps1
25+
26+
schedule:
27+
- cron: '34 20 * * 6'
28+
29+
permissions:
30+
contents: read
31+
32+
jobs:
33+
analyze:
34+
permissions:
35+
contents: read
36+
security-events: write
37+
actions: read
38+
name: Analyze
39+
runs-on: windows-latest
40+
41+
steps:
42+
- name: Checkout repository
43+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
44+
45+
- name: Clone test repository
46+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
47+
with:
48+
repository: walbourn/directxmathtest
49+
path: Tests
50+
ref: main
51+
52+
- name: Configure CMake
53+
working-directory: ./Tests/headertest
54+
run: cmake -B out
55+
56+
- name: Initialize MSVC Code Analysis
57+
uses: microsoft/msvc-code-analysis-action@24c285ab36952c9e9182f4b78dfafbac38a7e5ee # v0.1.1
58+
id: run-analysis
59+
with:
60+
cmakeBuildDirectory: ./Tests/headertest/out
61+
buildConfiguration: Debug
62+
ruleset: NativeRecommendedRules.ruleset
63+
64+
# Upload SARIF file to GitHub Code Scanning Alerts
65+
- name: Upload SARIF to GitHub
66+
uses: github/codeql-action/upload-sarif@fca7ace96b7d713c7035871441bd52efbe39e27e # v3.28.19
67+
with:
68+
sarif_file: ${{ steps.run-analysis.outputs.sarif }}

0 commit comments

Comments
 (0)