diff --git a/.gitea/workflows/build-images.yml b/.gitea/workflows/build-images.yml index 3569648..6ae2ac9 100644 --- a/.gitea/workflows/build-images.yml +++ b/.gitea/workflows/build-images.yml @@ -44,7 +44,12 @@ jobs: run: pnpm install --frozen-lockfile - name: Set up uv (for @parking/vision checks) - uses: astral-sh/setup-uv@v5 + # Install uv via its official standalone script rather than a third-party action — + # the Gitea runner can't reliably resolve astral-sh/setup-uv. uv provisions the + # pinned Python (apps/vision/.python-version) itself. Add it to PATH for later steps. + run: | + curl -LsSf https://astral.sh/uv/install.sh | sh + echo "$HOME/.local/bin" >> "$GITHUB_PATH" - name: Sync vision deps working-directory: apps/vision diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 55fcae8..16f97c2 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -35,9 +35,12 @@ jobs: # The vision service is a Python package wired into the Turbo graph via a # package.json shim; its lint/typecheck/test scripts shell to `uv run …`. CI # has no Python by default, so `uv run` would fail with "uv: not found" and - # break the whole Turbo run. uv provisions the pinned Python (.python-version) - # itself. See wiki/decisions/vision-service-packaging.md. - uses: astral-sh/setup-uv@v5 + # break the whole Turbo run. Install uv via its official standalone script + # (the Gitea runner can't reliably resolve astral-sh/setup-uv); uv provisions the + # pinned Python (.python-version) itself. See wiki/decisions/vision-service-packaging.md. + run: | + curl -LsSf https://astral.sh/uv/install.sh | sh + echo "$HOME/.local/bin" >> "$GITHUB_PATH" - name: Sync vision deps # Light deps + the dev group (ruff/mypy/pytest) only — NOT the optional `alpr`