|
54 | 54 | with: |
55 | 55 | cache-key: ${{ needs.cache.outputs.cache-key }} |
56 | 56 | fail-on-miss: false # First time create cache (if not already exists) |
| 57 | + python-version: ${{ steps.python.outputs.python-version }} |
| 58 | + venv-dir: ${{ env.VENV }} |
| 59 | + precommit-home: ${{ env.PRE_COMMIT_HOME }} |
57 | 60 |
|
58 | 61 | ruff: |
59 | 62 | runs-on: ubuntu-latest |
|
74 | 77 | uses: ./.github/actions/restore-venv |
75 | 78 | with: |
76 | 79 | cache-key: ${{ needs.cache.outputs.cache-key }} |
| 80 | + python-version: ${{ steps.python.outputs.python-version }} |
| 81 | + venv-dir: ${{ env.VENV }} |
| 82 | + precommit-home: ${{ env.PRE_COMMIT_HOME }} |
77 | 83 | - name: Ruff (check) |
78 | 84 | run: | |
79 | 85 | . venv/bin/activate |
@@ -111,6 +117,9 @@ jobs: |
111 | 117 | uses: ./.github/actions/restore-venv |
112 | 118 | with: |
113 | 119 | cache-key: ${{ needs.cache.outputs.cache-key }} |
| 120 | + python-version: ${{ steps.python.outputs.python-version }} |
| 121 | + venv-dir: ${{ env.VENV }} |
| 122 | + precommit-home: ${{ env.PRE_COMMIT_HOME }} |
114 | 123 | - name: Verify commit |
115 | 124 | run: | |
116 | 125 | . venv/bin/activate |
@@ -146,9 +155,11 @@ jobs: |
146 | 155 | id: cache-reuse |
147 | 156 | uses: ./.github/actions/restore-venv |
148 | 157 | with: |
149 | | - python-version: ${{ matrix.python-version }} |
150 | 158 | cache-key: ${{ needs.cache.outputs.cache-key }}-pytest-matrix-${{ matrix.python-version }} |
151 | 159 | fail-on-miss: false # First time create cache (if not already exists) |
| 160 | + python-version: ${{ matrix.python-version }} |
| 161 | + venv-dir: ${{ env.VENV }} |
| 162 | + precommit-home: ${{ env.PRE_COMMIT_HOME }} |
152 | 163 | - name: Run all tests |
153 | 164 | run: | |
154 | 165 | . venv/bin/activate |
@@ -183,6 +194,9 @@ jobs: |
183 | 194 | uses: ./.github/actions/restore-venv |
184 | 195 | with: |
185 | 196 | cache-key: ${{ needs.cache.outputs.cache-key }} |
| 197 | + python-version: ${{ steps.python.outputs.python-version }} |
| 198 | + venv-dir: ${{ env.VENV }} |
| 199 | + precommit-home: ${{ env.PRE_COMMIT_HOME }} |
186 | 200 | - name: Run mypy |
187 | 201 | run: | |
188 | 202 | . venv/bin/activate |
@@ -229,6 +243,9 @@ jobs: |
229 | 243 | uses: ./.github/actions/restore-venv |
230 | 244 | with: |
231 | 245 | cache-key: ${{ needs.cache.outputs.cache-key }} |
| 246 | + python-version: ${{ steps.python.outputs.python-version }} |
| 247 | + venv-dir: ${{ env.VENV }} |
| 248 | + precommit-home: ${{ env.PRE_COMMIT_HOME }} |
232 | 249 | - name: Download all coverage artifacts |
233 | 250 | uses: actions/download-artifact@v4 |
234 | 251 | - name: Combine coverage results |
@@ -267,6 +284,9 @@ jobs: |
267 | 284 | uses: ./.github/actions/restore-venv |
268 | 285 | with: |
269 | 286 | cache-key: ${{ needs.cache.outputs.cache-key }} |
| 287 | + python-version: ${{ steps.python.outputs.python-version }} |
| 288 | + venv-dir: ${{ env.VENV }} |
| 289 | + precommit-home: ${{ env.PRE_COMMIT_HOME }} |
270 | 290 | - name: Install pypa/build |
271 | 291 | run: | |
272 | 292 | . venv/bin/activate |
@@ -302,6 +322,9 @@ jobs: |
302 | 322 | uses: ./.github/actions/restore-venv |
303 | 323 | with: |
304 | 324 | cache-key: ${{ needs.cache.outputs.cache-key }} |
| 325 | + python-version: ${{ steps.python.outputs.python-version }} |
| 326 | + venv-dir: ${{ env.VENV }} |
| 327 | + precommit-home: ${{ env.PRE_COMMIT_HOME }} |
305 | 328 | - name: Run complexity report (click to view details) |
306 | 329 | run: | |
307 | 330 | . venv/bin/activate |
|
0 commit comments