Skip to content

Commit 104bf77

Browse files
jketemaCopilot
andcommitted
Use Python 3.12 in coverage and query-list workflows
Replace Python 3.8, which is unavailable on Ubuntu 26.04 runners, in all six workflows that still pin it. Match the existing Python tooling workflow and quote the version to preserve it as a YAML string. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 1bc4e40 commit 104bf77

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

‎.github/workflows/csv-coverage-pr-artifacts.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ jobs:
4747
git checkout HEAD^1
4848
git log -1 --format='%H'
4949
working-directory: base
50-
- name: Set up Python 3.8
50+
- name: Set up Python 3.12
5151
uses: actions/setup-python@v4
5252
with:
53-
python-version: 3.8
53+
python-version: "3.12"
5454
- name: Download CodeQL CLI
5555
uses: ./merge/.github/actions/fetch-codeql
5656
- name: Generate CSV files on merge commit of the PR

‎.github/workflows/csv-coverage-pr-comment.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
run: echo "$GITHUB_CONTEXT"
2626
- name: Clone self (github/codeql)
2727
uses: actions/checkout@v5
28-
- name: Set up Python 3.8
28+
- name: Set up Python 3.12
2929
uses: actions/setup-python@v4
3030
with:
31-
python-version: 3.8
31+
python-version: "3.12"
3232

3333
- name: Check coverage difference file and comment
3434
env:

‎.github/workflows/csv-coverage-timeseries.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
with:
2121
path: codeqlModels
2222
fetch-depth: 0
23-
- name: Set up Python 3.8
23+
- name: Set up Python 3.12
2424
uses: actions/setup-python@v4
2525
with:
26-
python-version: 3.8
26+
python-version: "3.12"
2727
- name: Download CodeQL CLI
2828
uses: ./script/.github/actions/fetch-codeql
2929
- name: Build modeled package list

‎.github/workflows/csv-coverage-update.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
with:
2626
path: ql
2727
fetch-depth: 0
28-
- name: Set up Python 3.8
28+
- name: Set up Python 3.12
2929
uses: actions/setup-python@v4
3030
with:
31-
python-version: 3.8
31+
python-version: "3.12"
3232
- name: Download CodeQL CLI
3333
uses: ./ql/.github/actions/fetch-codeql
3434
- name: Generate coverage files

‎.github/workflows/csv-coverage.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
with:
2525
path: codeqlModels
2626
ref: ${{ github.event.inputs.qlModelShaOverride || github.ref }}
27-
- name: Set up Python 3.8
27+
- name: Set up Python 3.12
2828
uses: actions/setup-python@v4
2929
with:
30-
python-version: 3.8
30+
python-version: "3.12"
3131
- name: Download CodeQL CLI
3232
uses: ./script/.github/actions/fetch-codeql
3333
- name: Build modeled package list

‎.github/workflows/query-list.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
uses: actions/checkout@v5
2727
with:
2828
path: codeql
29-
- name: Set up Python 3.8
29+
- name: Set up Python 3.12
3030
uses: actions/setup-python@v4
3131
with:
32-
python-version: 3.8
32+
python-version: "3.12"
3333
- name: Download CodeQL CLI
3434
# Look under the `codeql` directory, as this is where we checked out the `github/codeql` repo
3535
uses: ./codeql/.github/actions/fetch-codeql

0 commit comments

Comments
 (0)