Skip to content

Commit 3acbc61

Browse files
committed
Fixed caching paths
1 parent 3711694 commit 3acbc61

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/pre-commit_wsl.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,15 @@ jobs:
4444
libffi-dev
4545
liblzma-dev
4646
python3-openssl
47-
- name: Cache pyenv in WSL
47+
- name: Cache pyenv and pip in WSL
4848
id: cache-pyenv
4949
uses: actions/cache@v4
5050
with:
5151
path: |
52-
.pyenv
53-
.bash_profile
54-
.bashrc
52+
~/.pyenv
53+
~/.bash_profile
54+
~/.bashrc
55+
~/.cache/pip
5556
key: ${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.distribution }}
5657
- name: Install pyenv in WSL
5758
if: steps.cache-pyenv.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)