Skip to content

Commit b9b42be

Browse files
committed
Remove last use of installPython
- Add explicit `setup-python` step with condition to the workflow that was still using it - This allows simplifying the logic in `sync.ts`
1 parent 8ba8180 commit b9b42be

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

.github/workflows/__multi-language-autodetect.yml

Lines changed: 9 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pr-checks/checks/multi-language-autodetect.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,16 @@ operatingSystems: ["macos", "ubuntu"]
44
env:
55
CODEQL_ACTION_RESOLVE_SUPPORTED_LANGUAGES_USING_CLI: true
66
installGo: true
7-
installPython: true
87
installDotNet: true
98
steps:
9+
- name: Install Python 3.13 for older CLI versions
10+
# We need Python 3.13 for older CLI versions because they are not compatible with Python 3.14 or newer.
11+
# See https://github.com/github/codeql-action/pull/3212
12+
if: matrix.version != 'nightly-latest' && matrix.version != 'linked'
13+
uses: actions/setup-python@v6
14+
with:
15+
python-version: "3.13"
16+
1017
- name: Use Xcode 16
1118
if: runner.os == 'macOS' && matrix.version != 'nightly-latest'
1219
run: sudo xcode-select -s "/Applications/Xcode_16.app"

0 commit comments

Comments
 (0)