Skip to content

Commit c346cb8

Browse files
committed
set up cache
1 parent 6852668 commit c346cb8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/pytorch-version-tests.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,14 @@ jobs:
3838

3939
steps:
4040
- uses: actions/checkout@v4
41-
41+
- uses: actions/cache@v3
42+
with:
43+
path: ~/.cache/uv
44+
key: ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements-dev.txt') }}
4245
- name: Install uv and Python
4346
uses: astral-sh/setup-uv@v5
4447
with:
4548
python-version: ${{ matrix.python-version }}
46-
cache: true
4749
- name: Install PyTorch ${{ matrix.pytorch-version }}
4850
run: |
4951
# Use appropriate install index

0 commit comments

Comments
 (0)