Skip to content

Commit 0a74099

Browse files
vvillait88claude
andcommitted
ci: add Blacksmith sticky-disk cache for install step
useblacksmith/cache@v1 before install — caches the package manager's download cache on Blacksmith's persistent NVMe disk. ~2-3× faster installs on warm reruns. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 6e893d0 commit 0a74099

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ jobs:
1515
steps:
1616
- uses: useblacksmith/checkout@v1
1717
- uses: astral-sh/setup-uv@v7
18+
- uses: useblacksmith/cache@v1
19+
with:
20+
path: |
21+
~/.cache/uv
22+
~/.local/share/uv
23+
key: ${{ runner.os }}-uv-${{ hashFiles('uv.lock') }}
24+
restore-keys: ${{ runner.os }}-uv-
1825
- run: uv sync --frozen --all-extras
1926
- run: uv run ruff check .
2027
- run: uv run ruff format --check .

0 commit comments

Comments
 (0)