Skip to content

Commit 959b272

Browse files
add cache builder
1 parent 40a800a commit 959b272

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/build_cache.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,22 @@ jobs:
3030
uv sync
3131
echo "Cache populated successfully"
3232
33+
- name: Install hatch
34+
run: |
35+
uv tool install hatch
36+
mkdir -p ~/.cache/hatch
37+
38+
- name: Save hatch cache
39+
env:
40+
HATCH_CACHE_DIR: ~/.cache/hatch
41+
run: |
42+
hatch env create hatch-test.py3.13
3343
- name: Save uv caches
3444
uses: actions/cache/save@v4
3545
with:
3646
path: |
3747
~/.cache/uv
3848
~/.local/share/uv
49+
~/.cache/hatch
3950
.venv
4051
key: uv-main-${{ hashFiles('uv.lock') }}

0 commit comments

Comments
 (0)