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