Skip to content

Commit cb3a5e5

Browse files
authoredJun 18, 2022
gha: fix issue when caching virtual environments (#62)
1 parent 855ea68 commit cb3a5e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎.github/workflows/tests.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727

2828
- name: Set up Python ${{ matrix.pyv }}
2929
uses: actions/setup-python@v4
30+
id: setup-python
3031
with:
3132
python-version: ${{ matrix.pyv }}
3233
cache: pip
@@ -42,7 +43,7 @@ jobs:
4243
uses: actions/cache@v3
4344
with:
4445
path: .nox
45-
key: ${{ runner.os }}-${{ matrix.pyv }}-${{ hashFiles('noxfile.py') }}_nox3
46+
key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('noxfile.py') }}-nox
4647

4748
- name: cache pre-commit hook
4849
uses: actions/cache@v3

0 commit comments

Comments
 (0)
Please sign in to comment.