Skip to content

Commit 1b9c4bf

Browse files
authored
CI: upgrade CodeQL from v2 to v3 (#3507)
1 parent be41f71 commit 1b9c4bf

File tree

1 file changed

+5
-20
lines changed

1 file changed

+5
-20
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
branches: [master]
88
types: [opened, synchronize, reopened]
99
paths-ignore:
10-
- '**/*.md'
11-
- '**/*.txt'
10+
- "**/*.md"
11+
- "**/*.txt"
1212

1313
jobs:
1414
analyze:
@@ -23,25 +23,10 @@ jobs:
2323
uses: actions/checkout@v3
2424

2525
- name: Initialize CodeQL
26-
uses: github/codeql-action/init@v2
26+
uses: github/codeql-action/init@v3
2727
with:
2828
languages: ${{ matrix.language }}
29-
30-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
31-
# If this step fails, then you should remove it and run the build manually (see below)
32-
- name: Autobuild
33-
uses: github/codeql-action/autobuild@v2
34-
35-
# ℹ️ Command-line programs to run using the OS shell.
36-
# 📚 https://git.io/JvXDl
37-
38-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
39-
# and modify them (or add more) to build your code if your project
40-
# uses a compiled language
41-
42-
#- run: |
43-
# make bootstrap
44-
# make release
29+
build-mode: autobuild
4530

4631
- name: Perform CodeQL Analysis
47-
uses: github/codeql-action/analyze@v2
32+
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)