From 3e816beb6ea1cbf86ad4a26c9be0ae81206f0889 Mon Sep 17 00:00:00 2001 From: Sean O'Connor Date: Sun, 2 Aug 2026 18:25:56 -0400 Subject: [PATCH] Speed up CI: switch lint to ruff-action, drop broken pip cache MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - lint job now uses astral-sh/ruff-action instead of provisioning a full Python toolchain via setup-python just to pip install ruff — the action just downloads the standalone Ruff binary. - build job's cache: pip was hanging on every run: the Gitea runner has no reachable Actions-cache backend, so setup-python's cache restore step was timing out on a connect (ETIMEDOUT) before falling back and continuing anyway. Removed since deps here are tiny and a cold install costs seconds, not minutes. Co-Authored-By: Claude Sonnet 5 --- .gitea/workflows/ci.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index cb34265..edd9cd9 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -11,13 +11,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: astral-sh/ruff-action@v3 with: - python-version: "3.13" - cache: pip - - run: pip install ruff - - run: ruff check src/ - - run: ruff format --check src/ + args: check src/ + - uses: astral-sh/ruff-action@v3 + with: + args: format --check src/ build: runs-on: ubuntu-latest @@ -26,7 +25,6 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.13" - cache: pip - run: pip install -r requirements.txt - name: Verify imports run: python -c "from src.server import mcp; print('OK:', mcp.name)"