Skip to content

Commit bfc47c1

Browse files
committed
enable caching. use venv.
1 parent c0d66b7 commit bfc47c1

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

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

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ defaults:
3535
run:
3636
shell: bash
3737

38-
env:
39-
UV_SYSTEM_PYTHON: 1
40-
4138
jobs:
4239
pl-cpu:
4340
runs-on: ${{ matrix.os }}
@@ -82,12 +79,7 @@ jobs:
8279
uses: astral-sh/setup-uv@v6
8380
with:
8481
python-version: ${{ matrix.config.python-version || '3.9' }}
85-
86-
- name: Restore uv cache
87-
uses: actions/cache@v4
88-
with:
89-
path: ${{ env.UV_CACHE_DIR }}
90-
key: uv-cache-${{ matrix.os }}-${{ matrix.config.python-version || '3.9' }}
82+
enable-cache: true
9183

9284
- name: Basic setup
9385
run: uv pip install -q -r .actions/requirements.txt

0 commit comments

Comments
 (0)