Skip to content

Commit

Permalink
gha: fix issue when caching virtual environments (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry authored Jun 18, 2022
1 parent 855ea68 commit cb3a5e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:

- name: Set up Python ${{ matrix.pyv }}
uses: actions/setup-python@v4
id: setup-python
with:
python-version: ${{ matrix.pyv }}
cache: pip
Expand All @@ -42,7 +43,7 @@ jobs:
uses: actions/cache@v3
with:
path: .nox
key: ${{ runner.os }}-${{ matrix.pyv }}-${{ hashFiles('noxfile.py') }}_nox3
key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('noxfile.py') }}-nox

- name: cache pre-commit hook
uses: actions/cache@v3
Expand Down

0 comments on commit cb3a5e5

Please sign in to comment.