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]

perf(ci): cache uv dependencies in the lint job (#37783)

yuneng-jiang01595d2fbf23
diff --git a/.github/workflows/test-linting.yml b/.github/workflows/test-linting.yml
index ccb58f5cc9c..9f1283da19e 100644
--- a/.github/workflows/test-linting.yml
+++ b/.github/workflows/test-linting.yml
@@ -67,6 +67,17 @@ jobs:
with:
version: "0.10.9"
+ - name: Cache uv dependencies
+ if: steps.changes.outputs.decision != 'skip'
+ uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
+ with:
+ path: |
+ ~/.cache/uv
+ .venv
+ key: ${{ runner.os }}-uv-lint-${{ hashFiles('uv.lock') }}
+ restore-keys: |
+ ${{ runner.os }}-uv-lint-
+
- name: Clean Python cache
if: steps.changes.outputs.decision != 'skip'
run: |