From 72886e24e7c1211fbfac739f6114bd2fb1f38bc2 Mon Sep 17 00:00:00 2001 From: Markus Hilger Date: Sat, 24 Oct 2026 03:12:48 +0200 Subject: [PATCH] Pin Ubuntu versions and fix python 3.8 --- .github/workflows/ci.yml | 15 +++++++++------ .github/workflows/release.yml | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d85c044b..4a17a518 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ permissions: jobs: shellcheck: name: ShellCheck - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - uses: actions/checkout@v7 - name: Run ShellCheck (errors only) @@ -40,7 +40,7 @@ jobs: ruff: name: Ruff - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - uses: actions/checkout@v7 # Pinned to an exact release: unlike actions/checkout, ruff-action @@ -55,30 +55,33 @@ jobs: pyrefly: name: Pyrefly - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - uses: actions/checkout@v7 - uses: facebook/pyrefly@main python-compileall: name: Python compileall - runs-on: ubuntu-latest + # Python 3.8 and 3.9 are unavailable on Ubuntu 26.04. + runs-on: ubuntu-24.04 env: # One entry per Python version shipped by the distros confluent # targets, limited to versions actions/setup-python still provides - # on current runners (sles15/alma8 ship 3.6, which is unavailable). + # on this runner. # Newline-separated so it feeds both setup-python (multiline input) # and the shell loop below (word-split on whitespace). PYTHON_VERSIONS: | 3.8 3.9 3.10 + 3.11 3.12 3.13 3.14 + 3.15 steps: - uses: actions/checkout@v7 - - uses: actions/setup-python@v6 + - uses: actions/setup-python@v7 with: python-version: ${{ env.PYTHON_VERSIONS }} - name: List the Python files without a .py name diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a71c9a3c..c6ea1c5f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ permissions: jobs: release: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - uses: actions/checkout@v7 - name: Create Release