|
47 | 47 | uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 |
48 | 48 | with: |
49 | 49 | path: .venv |
50 | | - key: venv-${{ github.event.pull_request.head.repo.full_name || github.repository }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} |
51 | | - restore-keys: | |
52 | | - venv-${{ github.event.pull_request.head.repo.full_name || github.repository }}-py${{ steps.setup-python.outputs.python-version }}- |
| 50 | + key: venv-v2-${{ github.event.pull_request.head.repo.full_name || github.repository }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }} |
53 | 51 |
|
54 | 52 | - name: Install dependencies |
55 | 53 | if: steps.cache-deps.outputs.cache-hit != 'true' |
|
85 | 83 | uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 |
86 | 84 | with: |
87 | 85 | path: .venv |
88 | | - key: venv-${{ github.event.pull_request.head.repo.full_name || github.repository }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} |
89 | | - restore-keys: | |
90 | | - venv-${{ github.event.pull_request.head.repo.full_name || github.repository }}-py${{ steps.setup-python.outputs.python-version }}- |
| 86 | + key: venv-v2-${{ github.event.pull_request.head.repo.full_name || github.repository }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }} |
91 | 87 |
|
92 | 88 | - name: Install dependencies |
93 | 89 | if: steps.cache-deps.outputs.cache-hit != 'true' |
@@ -188,9 +184,7 @@ jobs: |
188 | 184 | uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 |
189 | 185 | with: |
190 | 186 | path: .venv |
191 | | - key: venv-${{ github.event.pull_request.head.repo.full_name || github.repository }}-py${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }} |
192 | | - restore-keys: | |
193 | | - venv-${{ github.event.pull_request.head.repo.full_name || github.repository }}-py${{ matrix.python-version }}- |
| 187 | + key: venv-v2-${{ github.event.pull_request.head.repo.full_name || github.repository }}-py${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }} |
194 | 188 |
|
195 | 189 | - name: Install dependencies |
196 | 190 | if: steps.cache-deps.outputs.cache-hit != 'true' |
@@ -326,9 +320,7 @@ jobs: |
326 | 320 | uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 |
327 | 321 | with: |
328 | 322 | path: .venv |
329 | | - key: venv-${{ github.event.pull_request.head.repo.full_name || github.repository }}-py${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }} |
330 | | - restore-keys: | |
331 | | - venv-${{ github.event.pull_request.head.repo.full_name || github.repository }}-py${{ matrix.python-version }}- |
| 323 | + key: venv-v2-${{ github.event.pull_request.head.repo.full_name || github.repository }}-py${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }} |
332 | 324 |
|
333 | 325 | - name: Install dependencies |
334 | 326 | if: steps.cache-deps.outputs.cache-hit != 'true' |
|
0 commit comments