We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 950fdf0 commit 28e887bCopy full SHA for 28e887b
.github/workflows/pytest.yml
@@ -65,8 +65,9 @@ jobs:
65
if: ${{ !matrix.use_lock }}
66
run: rm -f poetry.lock
67
68
- - uses: actions/cache@v3
69
- name: Define a cache for the virtual environment based on the dependencies lock file
+ - name: Define a cache for the virtual environment based on the dependencies lock file
+ if: matrix.use_lock
70
+ uses: actions/cache@v3
71
with:
72
path: ./.venv
73
key: venv-${{ matrix.env_name }}-${{ hashFiles('poetry.lock') }}
0 commit comments