Skip to content

Commit e8c2e30

Browse files
Bump github/codeql-action from 3.28.16 to 3.28.18 (#619)
1 parent cb3be57 commit e8c2e30

File tree

2 files changed

+166
-166
lines changed

2 files changed

+166
-166
lines changed

.github/workflows/codeql.yml

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

.github/workflows/msvc.yml

Lines changed: 88 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,88 +1,88 @@
1-
# Copyright (c) Microsoft Corporation.
2-
# Licensed under the MIT License.
3-
#
4-
# http://go.microsoft.com/fwlink/?LinkId=248926
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/*.cmd
17-
- build/*.json
18-
- build/*.props
19-
- build/*.ps1
20-
- build/*.targets
21-
- build/*.xvd
22-
pull_request:
23-
branches: "main"
24-
paths-ignore:
25-
- '*.md'
26-
- LICENSE
27-
- '.azuredevops/**'
28-
- '.nuget/*'
29-
- build/*.cmd
30-
- build/*.json
31-
- build/*.props
32-
- build/*.ps1
33-
- build/*.targets
34-
- build/*.xvd
35-
schedule:
36-
- cron: '41 16 * * 1'
37-
38-
permissions:
39-
contents: read
40-
41-
jobs:
42-
analyze:
43-
permissions:
44-
contents: read
45-
security-events: write
46-
actions: read
47-
name: Analyze
48-
runs-on: windows-latest
49-
50-
steps:
51-
- name: Checkout repository
52-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
53-
54-
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
55-
with:
56-
arch: amd64
57-
58-
- name: Configure CMake
59-
working-directory: ${{ github.workspace }}
60-
run: cmake -B out -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON
61-
62-
- name: 'Build Shaders (BC)'
63-
shell: cmd
64-
working-directory: ./DirectXTex/Shaders
65-
run: CompileShaders.cmd
66-
env:
67-
CompileShadersOutput: ${{ github.workspace }}/out/Shaders/Compiled
68-
69-
- name: 'Build Shaders (DDSVIEW)'
70-
shell: cmd
71-
working-directory: ./DDSView
72-
run: hlsl.cmd
73-
env:
74-
CompileShadersOutput: ${{ github.workspace }}/out/Shaders/Compiled
75-
76-
- name: Initialize MSVC Code Analysis
77-
uses: microsoft/msvc-code-analysis-action@24c285ab36952c9e9182f4b78dfafbac38a7e5ee # v0.1.1
78-
id: run-analysis
79-
with:
80-
cmakeBuildDirectory: ./out
81-
buildConfiguration: Debug
82-
ruleset: NativeRecommendedRules.ruleset
83-
84-
# Upload SARIF file to GitHub Code Scanning Alerts
85-
- name: Upload SARIF to GitHub
86-
uses: github/codeql-action/upload-sarif@28deaeda66b76a05916b6923827895f2b14ab387 # v3.28.16
87-
with:
88-
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=248926
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/*.cmd
17+
- build/*.json
18+
- build/*.props
19+
- build/*.ps1
20+
- build/*.targets
21+
- build/*.xvd
22+
pull_request:
23+
branches: "main"
24+
paths-ignore:
25+
- '*.md'
26+
- LICENSE
27+
- '.azuredevops/**'
28+
- '.nuget/*'
29+
- build/*.cmd
30+
- build/*.json
31+
- build/*.props
32+
- build/*.ps1
33+
- build/*.targets
34+
- build/*.xvd
35+
schedule:
36+
- cron: '41 16 * * 1'
37+
38+
permissions:
39+
contents: read
40+
41+
jobs:
42+
analyze:
43+
permissions:
44+
contents: read
45+
security-events: write
46+
actions: read
47+
name: Analyze
48+
runs-on: windows-latest
49+
50+
steps:
51+
- name: Checkout repository
52+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
53+
54+
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
55+
with:
56+
arch: amd64
57+
58+
- name: Configure CMake
59+
working-directory: ${{ github.workspace }}
60+
run: cmake -B out -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON
61+
62+
- name: 'Build Shaders (BC)'
63+
shell: cmd
64+
working-directory: ./DirectXTex/Shaders
65+
run: CompileShaders.cmd
66+
env:
67+
CompileShadersOutput: ${{ github.workspace }}/out/Shaders/Compiled
68+
69+
- name: 'Build Shaders (DDSVIEW)'
70+
shell: cmd
71+
working-directory: ./DDSView
72+
run: hlsl.cmd
73+
env:
74+
CompileShadersOutput: ${{ github.workspace }}/out/Shaders/Compiled
75+
76+
- name: Initialize MSVC Code Analysis
77+
uses: microsoft/msvc-code-analysis-action@24c285ab36952c9e9182f4b78dfafbac38a7e5ee # v0.1.1
78+
id: run-analysis
79+
with:
80+
cmakeBuildDirectory: ./out
81+
buildConfiguration: Debug
82+
ruleset: NativeRecommendedRules.ruleset
83+
84+
# Upload SARIF file to GitHub Code Scanning Alerts
85+
- name: Upload SARIF to GitHub
86+
uses: github/codeql-action/upload-sarif@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
87+
with:
88+
sarif_file: ${{ steps.run-analysis.outputs.sarif }}

0 commit comments

Comments
 (0)