Skip to content

Commit 3e5c8e3

Browse files
committed
CodeQL fix for PEP 639
This will allow the license to be set as just "MIT-0".
1 parent 647a75c commit 3e5c8e3

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,16 @@ jobs:
3030
# Learn more about CodeQL language support at https://git.io/codeql-language-support
3131

3232
steps:
33+
# for autobuild later, PEP 639 (license metadata) essentially requires setuptools>=77
34+
- name: Update python packaging
35+
run: python -m pip install --upgrade pip setuptools packaging wheel
36+
3337
- name: Checkout repository
3438
uses: actions/checkout@v4
3539

3640
# Initializes the CodeQL tools for scanning.
3741
- name: Initialize CodeQL
38-
uses: github/codeql-action/init@v3
42+
uses: github/codeql-action/init@v4
3943
with:
4044
languages: ${{ matrix.language }}
4145
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -46,7 +50,7 @@ jobs:
4650
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
4751
# If this step fails, then you should remove it and run the build manually (see below)
4852
- name: Autobuild
49-
uses: github/codeql-action/autobuild@v3
53+
uses: github/codeql-action/autobuild@v4
5054

5155
# ℹ️ Command-line programs to run using the OS shell.
5256
# 📚 https://git.io/JvXDl
@@ -60,4 +64,4 @@ jobs:
6064
# make release
6165

6266
- name: Perform CodeQL Analysis
63-
uses: github/codeql-action/analyze@v3
67+
uses: github/codeql-action/analyze@v4

0 commit comments

Comments
 (0)