Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

chore(ci): extract setup-uv pin

Yujong Leecbb8a1784db6
diff --git a/.github/actions/setup-uv-with-retries/action.yml b/.github/actions/setup-uv-with-retries/action.yml
index 98ff91f0283..1627038dc3d 100644
--- a/.github/actions/setup-uv-with-retries/action.yml
+++ b/.github/actions/setup-uv-with-retries/action.yml
@@ -1,7 +1,11 @@
name: "Set up uv with retries"
description: >-
- Install uv via astral-sh/setup-uv, retrying the full setup step so manifest
- resolution and binary downloads get fresh attempts after transient failures.
+ Install uv via astral-sh/setup-uv, retrying on transient failures. Even with
+ an exact pinned version, the action resolves the artifact URL by fetching
+ https://raw.githubusercontent.com/astral-sh/versions/main/v1/uv.ndjson in a
+ single request with no retry, timeout, or fallback, so one connection-level
+ network error ("fetch failed") fails the whole job before any test runs.
+ Retrying the full step covers the manifest fetch and the binary download.
inputs:
version:
@@ -14,7 +18,7 @@ runs:
- name: Set up uv (attempt 1)
id: attempt-1
continue-on-error: true
- uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
+ uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
with:
version: ${{ inputs.version }}
@@ -27,7 +31,7 @@ runs:
id: attempt-2
if: steps.attempt-1.outcome == 'failure'
continue-on-error: true
- uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
+ uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
with:
version: ${{ inputs.version }}
@@ -38,6 +42,6 @@ runs:
- name: Set up uv (attempt 3)
if: steps.attempt-2.outcome == 'failure'
- uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
+ uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
with:
version: ${{ inputs.version }}