From 910f80c99bcef04a5b9396a69f2eccffda6df7c2 Mon Sep 17 00:00:00 2001 From: AdrianoDev Date: Wed, 29 Apr 2026 08:29:24 +0200 Subject: [PATCH] ci: setup-python@v5 con 3.13 + curl uv install (setup-uv@v5 non applicava python-version) --- .gitea/workflows/ci.yml | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index d8e0b71..bacdef3 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -16,11 +16,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Setup uv + Python 3.13 - uses: astral-sh/setup-uv@v5 + - name: Setup Python 3.13 + uses: actions/setup-python@v5 with: python-version: '3.13' - enable-cache: true + - name: Install uv + run: | + curl -LsSf https://astral.sh/uv/install.sh | sh + echo "$HOME/.local/bin" >> $GITHUB_PATH - name: Install deps run: uv sync --frozen --group dev - name: Ruff check @@ -31,11 +34,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Setup uv + Python 3.13 - uses: astral-sh/setup-uv@v5 + - name: Setup Python 3.13 + uses: actions/setup-python@v5 with: python-version: '3.13' - enable-cache: true + - name: Install uv + run: | + curl -LsSf https://astral.sh/uv/install.sh | sh + echo "$HOME/.local/bin" >> $GITHUB_PATH - name: Install deps run: uv sync --frozen --group dev - name: Mypy on mcp_common (gating) @@ -48,11 +54,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Setup uv + Python 3.13 - uses: astral-sh/setup-uv@v5 + - name: Setup Python 3.13 + uses: actions/setup-python@v5 with: python-version: '3.13' - enable-cache: true + - name: Install uv + run: | + curl -LsSf https://astral.sh/uv/install.sh | sh + echo "$HOME/.local/bin" >> $GITHUB_PATH - name: Install deps run: uv sync --frozen --group dev - name: Pytest full suite