Skip to content

Commit 7b830d3

Browse files
committed
ops(workflow): limit cache folder for Python venv to lib
1 parent d9507bd commit 7b830d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
cache: 'pip'
3333
- uses: actions/cache@v4
3434
with:
35-
path: .venv
36-
key: ${{ runner.os }}-pythonenv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
35+
path: .venv/lib
36+
key: ${{ runner.os }}-pyenvlib-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
3737
restore-keys: |
38-
${{ runner.os }}-pythonenv-${{ matrix.python-version }}-
38+
${{ runner.os }}-pyenvlib-${{ matrix.python-version }}-
3939
- name: Setup venv
4040
run: |
4141
python -m venv .venv

0 commit comments

Comments
 (0)