From 104bf77cf7c970a8c545d4d560301708cb6e5bd6 Mon Sep 17 00:00:00 2001 From: jketema <93738568+jketema@users.noreply.github.com> Date: Mon, 26 Oct 2026 11:33:14 +0000 Subject: [PATCH] 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> --- .github/workflows/csv-coverage-pr-artifacts.yml | 4 ++-- .github/workflows/csv-coverage-pr-comment.yml | 4 ++-- .github/workflows/csv-coverage-timeseries.yml | 4 ++-- .github/workflows/csv-coverage-update.yml | 4 ++-- .github/workflows/csv-coverage.yml | 4 ++-- .github/workflows/query-list.yml | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/csv-coverage-pr-artifacts.yml b/.github/workflows/csv-coverage-pr-artifacts.yml index c62de00535e2..e27ccc7312cb 100644 --- a/.github/workflows/csv-coverage-pr-artifacts.yml +++ b/.github/workflows/csv-coverage-pr-artifacts.yml @@ -47,10 +47,10 @@ jobs: git checkout HEAD^1 git log -1 --format='%H' working-directory: base - - name: Set up Python 3.8 + - name: Set up Python 3.12 uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: "3.12" - name: Download CodeQL CLI uses: ./merge/.github/actions/fetch-codeql - name: Generate CSV files on merge commit of the PR diff --git a/.github/workflows/csv-coverage-pr-comment.yml b/.github/workflows/csv-coverage-pr-comment.yml index 534725815b4b..ba07ccd5fc4c 100644 --- a/.github/workflows/csv-coverage-pr-comment.yml +++ b/.github/workflows/csv-coverage-pr-comment.yml @@ -25,10 +25,10 @@ jobs: run: echo "$GITHUB_CONTEXT" - name: Clone self (github/codeql) uses: actions/checkout@v5 - - name: Set up Python 3.8 + - name: Set up Python 3.12 uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: "3.12" - name: Check coverage difference file and comment env: diff --git a/.github/workflows/csv-coverage-timeseries.yml b/.github/workflows/csv-coverage-timeseries.yml index 11bc06bee602..1433aaa41758 100644 --- a/.github/workflows/csv-coverage-timeseries.yml +++ b/.github/workflows/csv-coverage-timeseries.yml @@ -20,10 +20,10 @@ jobs: with: path: codeqlModels fetch-depth: 0 - - name: Set up Python 3.8 + - name: Set up Python 3.12 uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: "3.12" - name: Download CodeQL CLI uses: ./script/.github/actions/fetch-codeql - name: Build modeled package list diff --git a/.github/workflows/csv-coverage-update.yml b/.github/workflows/csv-coverage-update.yml index 9f7a0b778dab..3bab9977ccd3 100644 --- a/.github/workflows/csv-coverage-update.yml +++ b/.github/workflows/csv-coverage-update.yml @@ -25,10 +25,10 @@ jobs: with: path: ql fetch-depth: 0 - - name: Set up Python 3.8 + - name: Set up Python 3.12 uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: "3.12" - name: Download CodeQL CLI uses: ./ql/.github/actions/fetch-codeql - name: Generate coverage files diff --git a/.github/workflows/csv-coverage.yml b/.github/workflows/csv-coverage.yml index a1224456410a..9a51710a7115 100644 --- a/.github/workflows/csv-coverage.yml +++ b/.github/workflows/csv-coverage.yml @@ -24,10 +24,10 @@ jobs: with: path: codeqlModels ref: ${{ github.event.inputs.qlModelShaOverride || github.ref }} - - name: Set up Python 3.8 + - name: Set up Python 3.12 uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: "3.12" - name: Download CodeQL CLI uses: ./script/.github/actions/fetch-codeql - name: Build modeled package list diff --git a/.github/workflows/query-list.yml b/.github/workflows/query-list.yml index 8c736379f8a6..53857b5ae12c 100644 --- a/.github/workflows/query-list.yml +++ b/.github/workflows/query-list.yml @@ -26,10 +26,10 @@ jobs: uses: actions/checkout@v5 with: path: codeql - - name: Set up Python 3.8 + - name: Set up Python 3.12 uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: "3.12" - name: Download CodeQL CLI # Look under the `codeql` directory, as this is where we checked out the `github/codeql` repo uses: ./codeql/.github/actions/fetch-codeql