2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-11-19 17:02:22 +00:00

Pin Ubuntu versions and fix python 3.8

This commit is contained in:
Markus Hilger
2026-10-24 03:12:48 +02:00
parent 406fe2aff9
commit 72886e24e7
2 changed files with 10 additions and 7 deletions
+9 -6
View File
@@ -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
+1 -1
View File
@@ -12,7 +12,7 @@ permissions:
jobs:
release:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v7
- name: Create Release