|
23 | 23 | name: Cache identify |
24 | 24 | outputs: |
25 | 25 | cache-key: ${{ steps.set-key.outputs.cache-key }} |
26 | | - python-version: ${{ steps.python.outputs.python-version}} # Ensure all runners use THIS minor version |
| 26 | + python-version: ${{ steps.python.outputs.python-version }} # Ensure all runners use THIS minor version |
27 | 27 | steps: |
28 | 28 | - name: Check out committed code |
29 | 29 | uses: actions/checkout@v5 |
|
49 | 49 | id: cache-reuse |
50 | 50 | uses: plugwise/gh-actions/prepare-python-and-code@v1 |
51 | 51 | with: |
52 | | - cache-key: ${{ needs.cache.outputs.cache-key }}-${{ needs.cache.outputs.python-version }} |
| 52 | + cache-key: ${{ needs.cache.outputs.cache-key }} |
53 | 53 | fail-on-miss: false # First time create cache (if not already exists) |
54 | 54 | python-version: ${{ needs.cache.outputs.python-version }} |
55 | 55 | venv-dir: ${{ env.VENV }} |
|
70 | 70 | id: cache-reuse |
71 | 71 | uses: plugwise/gh-actions/restore-venv@v1 |
72 | 72 | with: |
73 | | - cache-key: ${{ needs.cache.outputs.cache-key }}-${{ needs.cache.outputs.python-version }} |
74 | | - python-version: ${{ needs.cache.outputs.python-version}} |
| 73 | + cache-key: ${{ needs.cache.outputs.cache-key }} |
| 74 | + python-version: ${{ needs.cache.outputs.python-version }} |
75 | 75 | venv-dir: ${{ env.VENV }} |
76 | 76 | precommit-home: ${{ env.PRE_COMMIT_HOME }} |
77 | 77 | - name: Ruff (with fix) |
@@ -106,8 +106,8 @@ jobs: |
106 | 106 | id: cache-reuse |
107 | 107 | uses: plugwise/gh-actions/restore-venv@v1 |
108 | 108 | with: |
109 | | - cache-key: ${{ needs.cache.outputs.cache-key }}-${{ needs.cache.outputs.python-version }} |
110 | | - python-version: ${{ needs.cache.outputs.python-version}} |
| 109 | + cache-key: ${{ needs.cache.outputs.cache-key }} |
| 110 | + python-version: ${{ needs.cache.outputs.python-version }} |
111 | 111 | venv-dir: ${{ env.VENV }} |
112 | 112 | precommit-home: ${{ env.PRE_COMMIT_HOME }} |
113 | 113 | - name: Verify commit |
@@ -147,7 +147,7 @@ jobs: |
147 | 147 | uses: plugwise/gh-actions/restore-venv@v1 |
148 | 148 | with: |
149 | 149 | fail-on-miss: false # First time create cache (if not already exists) |
150 | | - cache-key: ${{ needs.cache.outputs.cache-key }}-${{ matrix.python-version }} |
| 150 | + cache-key: ${{ needs.cache.outputs.cache-key }} |
151 | 151 | python-version: ${{ matrix.python-version }} # Force to installed python minor |
152 | 152 | venv-dir: ${{ env.VENV }} |
153 | 153 | precommit-home: ${{ env.PRE_COMMIT_HOME }} |
@@ -179,8 +179,8 @@ jobs: |
179 | 179 | id: cache-reuse |
180 | 180 | uses: plugwise/gh-actions/restore-venv@v1 |
181 | 181 | with: |
182 | | - cache-key: ${{ needs.cache.outputs.cache-key }}-${{ needs.cache.outputs.python-version }} |
183 | | - python-version: ${{ needs.cache.outputs.python-version}} |
| 182 | + cache-key: ${{ needs.cache.outputs.cache-key }} |
| 183 | + python-version: ${{ needs.cache.outputs.python-version }} |
184 | 184 | venv-dir: ${{ env.VENV }} |
185 | 185 | precommit-home: ${{ env.PRE_COMMIT_HOME }} |
186 | 186 | - name: Run mypy |
@@ -224,8 +224,8 @@ jobs: |
224 | 224 | id: cache-reuse |
225 | 225 | uses: plugwise/gh-actions/restore-venv@v1 |
226 | 226 | with: |
227 | | - cache-key: ${{ needs.cache.outputs.cache-key }}-${{ needs.cache.outputs.python-version }} |
228 | | - python-version: ${{ needs.cache.outputs.python-version}} |
| 227 | + cache-key: ${{ needs.cache.outputs.cache-key }} |
| 228 | + python-version: ${{ needs.cache.outputs.python-version }} |
229 | 229 | venv-dir: ${{ env.VENV }} |
230 | 230 | precommit-home: ${{ env.PRE_COMMIT_HOME }} |
231 | 231 | - name: Download all coverage artifacts |
@@ -306,8 +306,8 @@ jobs: |
306 | 306 | id: cache-reuse |
307 | 307 | uses: plugwise/gh-actions/restore-venv@v1 |
308 | 308 | with: |
309 | | - cache-key: ${{ needs.cache.outputs.cache-key }}-${{ needs.cache.outputs.python-version }} |
310 | | - python-version: ${{ needs.cache.outputs.python-version}} |
| 309 | + cache-key: ${{ needs.cache.outputs.cache-key }} |
| 310 | + python-version: ${{ needs.cache.outputs.python-version }} |
311 | 311 | venv-dir: ${{ env.VENV }} |
312 | 312 | precommit-home: ${{ env.PRE_COMMIT_HOME }} |
313 | 313 | - name: Run complexity report (click to view details) |
|
0 commit comments