Skip to content

Commit a10eab2

Browse files
committed
Rework in gh-actions
1 parent 24955d9 commit a10eab2

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/verify.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
name: Cache identify
2424
outputs:
2525
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
2727
steps:
2828
- name: Check out committed code
2929
uses: actions/checkout@v5
@@ -49,7 +49,7 @@ jobs:
4949
id: cache-reuse
5050
uses: plugwise/gh-actions/prepare-python-and-code@v1
5151
with:
52-
cache-key: ${{ needs.cache.outputs.cache-key }}-${{ needs.cache.outputs.python-version }}
52+
cache-key: ${{ needs.cache.outputs.cache-key }}
5353
fail-on-miss: false # First time create cache (if not already exists)
5454
python-version: ${{ needs.cache.outputs.python-version }}
5555
venv-dir: ${{ env.VENV }}
@@ -70,8 +70,8 @@ jobs:
7070
id: cache-reuse
7171
uses: plugwise/gh-actions/restore-venv@v1
7272
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 }}
7575
venv-dir: ${{ env.VENV }}
7676
precommit-home: ${{ env.PRE_COMMIT_HOME }}
7777
- name: Ruff (with fix)
@@ -106,8 +106,8 @@ jobs:
106106
id: cache-reuse
107107
uses: plugwise/gh-actions/restore-venv@v1
108108
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 }}
111111
venv-dir: ${{ env.VENV }}
112112
precommit-home: ${{ env.PRE_COMMIT_HOME }}
113113
- name: Verify commit
@@ -147,7 +147,7 @@ jobs:
147147
uses: plugwise/gh-actions/restore-venv@v1
148148
with:
149149
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 }}
151151
python-version: ${{ matrix.python-version }} # Force to installed python minor
152152
venv-dir: ${{ env.VENV }}
153153
precommit-home: ${{ env.PRE_COMMIT_HOME }}
@@ -179,8 +179,8 @@ jobs:
179179
id: cache-reuse
180180
uses: plugwise/gh-actions/restore-venv@v1
181181
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 }}
184184
venv-dir: ${{ env.VENV }}
185185
precommit-home: ${{ env.PRE_COMMIT_HOME }}
186186
- name: Run mypy
@@ -224,8 +224,8 @@ jobs:
224224
id: cache-reuse
225225
uses: plugwise/gh-actions/restore-venv@v1
226226
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 }}
229229
venv-dir: ${{ env.VENV }}
230230
precommit-home: ${{ env.PRE_COMMIT_HOME }}
231231
- name: Download all coverage artifacts
@@ -306,8 +306,8 @@ jobs:
306306
id: cache-reuse
307307
uses: plugwise/gh-actions/restore-venv@v1
308308
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 }}
311311
venv-dir: ${{ env.VENV }}
312312
precommit-home: ${{ env.PRE_COMMIT_HOME }}
313313
- name: Run complexity report (click to view details)

0 commit comments

Comments
 (0)