Skip to content

Commit 4e18b8e

Browse files
authored
👷 Use uv cache on GitHub Actions (fastapi#1366)
1 parent 8d3be5a commit 4e18b8e

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/generate-client.yml

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
uses: astral-sh/setup-uv@v2
2727
with:
2828
version: "0.4.15"
29+
enable-cache: true
2930
- name: Install dependencies
3031
run: npm ci
3132
working-directory: frontend

.github/workflows/lint-backend.yml

+1
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ jobs:
2323
uses: astral-sh/setup-uv@v2
2424
with:
2525
version: "0.4.15"
26+
enable-cache: true
2627
- run: uv run bash scripts/lint.sh
2728
working-directory: backend

.github/workflows/test-backend.yml

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
uses: astral-sh/setup-uv@v2
2424
with:
2525
version: "0.4.15"
26+
enable-cache: true
2627
- run: docker compose down -v --remove-orphans
2728
- run: docker compose up -d db mailcatcher
2829
- name: Migrate DB

0 commit comments

Comments
 (0)