From 409b02286e7d722bb2ec742c451e2c4a843e169a Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Wed, 11 Nov 2026 11:34:51 -0700 Subject: [PATCH] ci: use ubuntu 24.04 for test envs that use py39 github actions recently changed `ubuntu-latest` to use `26.04` instead of `24.04`. We need to use `ubuntu-24.04` for those test environments that need python 3.9 Also a minor update to tox-lsr and codeql Signed-off-by: Rich Megginson --- .github/workflows/actions.lock | 2 +- .github/workflows/ansible-lint.yml | 2 +- .github/workflows/ansible-managed-var-comment.yml | 2 +- .github/workflows/ansible-test.yml | 4 ++-- .github/workflows/qemu-kvm-integration-tests.yml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock index 36699453bc..2edf6a1203 100644 --- a/.github/workflows/actions.lock +++ b/.github/workflows/actions.lock @@ -81,7 +81,7 @@ dependencies: repo_id: 263411323 'linux-system-roles/.github@main': ref: 'main' - commit: 'sha1-54e8132c2d5c8ea4edf115040dc11cf0d5b2dfff' + commit: 'sha1-6a871b700c52584c272c33029b1bdd62a0e474cb' owner_id: 28014670 repo_id: 320092621 'sclorg/testing-farm-as-github-action@v4.3.1': diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml index 0202b8f2cc..dd6056e5c6 100644 --- a/.github/workflows/ansible-lint.yml +++ b/.github/workflows/ansible-lint.yml @@ -68,7 +68,7 @@ jobs: - name: Install tox, tox-lsr run: | set -euxo pipefail - pip3 install "git+https://github.com/linux-system-roles/tox-lsr@b8adb1a54303ce668b39fedf86e89cd0895df948" + pip3 install "git+https://github.com/linux-system-roles/tox-lsr@b30596c6fd1863b2eed20206ef32d13eac478e18" - name: Set up Python uses: actions/setup-python@v7.1.0 diff --git a/.github/workflows/ansible-managed-var-comment.yml b/.github/workflows/ansible-managed-var-comment.yml index e543dadb69..dea01f68b8 100644 --- a/.github/workflows/ansible-managed-var-comment.yml +++ b/.github/workflows/ansible-managed-var-comment.yml @@ -57,7 +57,7 @@ jobs: - name: Install tox, tox-lsr run: | set -euxo pipefail - pip3 install "git+https://github.com/linux-system-roles/tox-lsr@b8adb1a54303ce668b39fedf86e89cd0895df948" + pip3 install "git+https://github.com/linux-system-roles/tox-lsr@b30596c6fd1863b2eed20206ef32d13eac478e18" - name: Run ansible-plugin-scan run: | diff --git a/.github/workflows/ansible-test.yml b/.github/workflows/ansible-test.yml index 16e5dc53bd..47a63073c2 100644 --- a/.github/workflows/ansible-test.yml +++ b/.github/workflows/ansible-test.yml @@ -23,7 +23,7 @@ jobs: fail-fast: false # get all results, not just the first failure matrix: versions: - - { ansible: "2-14", python: "3.9", runner_os: "ubuntu-latest" } + - { ansible: "2-14", python: "3.9", runner_os: "ubuntu-24.04" } - { ansible: "2-16", python: "3.11", runner_os: "ubuntu-latest" } - { ansible: "2-17", python: "3.12", runner_os: "ubuntu-latest" } - { ansible: "2-20", python: "3.13", runner_os: "ubuntu-latest" } @@ -71,7 +71,7 @@ jobs: - name: Install tox, tox-lsr run: | set -euxo pipefail - pip3 install "git+https://github.com/linux-system-roles/tox-lsr@b8adb1a54303ce668b39fedf86e89cd0895df948" + pip3 install "git+https://github.com/linux-system-roles/tox-lsr@b30596c6fd1863b2eed20206ef32d13eac478e18" - name: Set up Python uses: actions/setup-python@v7.1.0 diff --git a/.github/workflows/qemu-kvm-integration-tests.yml b/.github/workflows/qemu-kvm-integration-tests.yml index 6b18a30d5d..18aa3259a1 100644 --- a/.github/workflows/qemu-kvm-integration-tests.yml +++ b/.github/workflows/qemu-kvm-integration-tests.yml @@ -141,7 +141,7 @@ jobs: python3 -m pip install --upgrade pip sudo apt update sudo apt install -y --no-install-recommends git ansible-core genisoimage qemu-system-x86 qemu-utils - pip3 install "git+https://github.com/linux-system-roles/tox-lsr@b8adb1a54303ce668b39fedf86e89cd0895df948" + pip3 install "git+https://github.com/linux-system-roles/tox-lsr@b30596c6fd1863b2eed20206ef32d13eac478e18" - name: Check for podman version 5 or higher id: check_podman_version