fix(ci): use system python3 instead of python3.11 (Ubuntu 24.04 has 3.12)
Some checks failed
CI/CD Pipeline / Build Docker Images (push) Has been cancelled
CI/CD Pipeline / Push to Gitea Registry (push) Has been cancelled
CI/CD Pipeline / Code Quality Checks (push) Has been cancelled
CI/CD Pipeline / Run Tests (push) Has been cancelled

This commit is contained in:
2026-02-02 12:53:36 +01:00
parent 3fab27b166
commit 5da87c40f7

View File

@@ -7,7 +7,7 @@ on:
branches: [ main, develop, dev ]
env:
PYTHON_VERSION: "3.11"
PYTHON_VERSION: "3"
jobs:
lint:
@@ -23,14 +23,14 @@ jobs:
- name: Install Python and uv
run: |
apt-get update && apt-get install -y python${PYTHON_VERSION} python${PYTHON_VERSION}-venv
apt-get update && apt-get install -y python3 python3-venv
curl -LsSf https://astral.sh/uv/install.sh | sh
export PATH="$HOME/.local/bin:$PATH"
- name: Create virtual environment and install dependencies
run: |
export PATH="$HOME/.local/bin:$PATH"
uv venv --python python${PYTHON_VERSION}
uv venv
source .venv/bin/activate
uv sync --dev
@@ -59,14 +59,14 @@ jobs:
- name: Install Python and uv
run: |
apt-get update && apt-get install -y python${PYTHON_VERSION} python${PYTHON_VERSION}-venv
apt-get update && apt-get install -y python3 python3-venv
curl -LsSf https://astral.sh/uv/install.sh | sh
export PATH="$HOME/.local/bin:$PATH"
- name: Create virtual environment and install dependencies
run: |
export PATH="$HOME/.local/bin:$PATH"
uv venv --python python${PYTHON_VERSION}
uv venv
source .venv/bin/activate
uv sync --dev