@@ -26,15 +26,15 @@ jobs:
2626 name : Prepare Python dependencies
2727 steps :
2828 - name : Check out code from GitHub
29- 29+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3030 - name : Set up Python
3131 id : python
32- 32+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
3333 with :
3434 python-version : ${{ env.DEFAULT_PYTHON }}
3535 - name : Restore Python virtual environment
3636 id : cache-venv
37- 37+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
3838 with :
3939 path : venv
4040 key : |
4848 pip install -r requirements.txt -r requirements_tests.txt
4949 - name : Restore pre-commit environment from cache
5050 id : cache-precommit
51- 51+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
5252 with :
5353 path : ${{ env.PRE_COMMIT_CACHE }}
5454 lookup-only : true
@@ -68,15 +68,15 @@ jobs:
6868 needs : prepare
6969 steps :
7070 - name : Check out code from GitHub
71- 71+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
7272 - name : Set up Python ${{ needs.prepare.outputs.python-version }}
73- 73+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
7474 id : python
7575 with :
7676 python-version : ${{ needs.prepare.outputs.python-version }}
7777 - name : Restore Python virtual environment
7878 id : cache-venv
79- 79+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
8080 with :
8181 path : venv
8282 key : |
8888 exit 1
8989 - name : Restore pre-commit environment from cache
9090 id : cache-precommit
91- 91+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
9292 with :
9393 path : ${{ env.PRE_COMMIT_CACHE }}
9494 key : |
@@ -111,15 +111,15 @@ jobs:
111111 needs : prepare
112112 steps :
113113 - name : Check out code from GitHub
114- 114+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
115115 - name : Set up Python ${{ needs.prepare.outputs.python-version }}
116- 116+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
117117 id : python
118118 with :
119119 python-version : ${{ needs.prepare.outputs.python-version }}
120120 - name : Restore Python virtual environment
121121 id : cache-venv
122- 122+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
123123 with :
124124 path : venv
125125 key : |
@@ -131,7 +131,7 @@ jobs:
131131 exit 1
132132 - name : Restore pre-commit environment from cache
133133 id : cache-precommit
134- 134+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
135135 with :
136136 path : ${{ env.PRE_COMMIT_CACHE }}
137137 key : |
@@ -154,7 +154,7 @@ jobs:
154154 needs : prepare
155155 steps :
156156 - name : Check out code from GitHub
157- 157+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
158158 - name : Register hadolint problem matcher
159159 run : |
160160 echo "::add-matcher::.github/workflows/matchers/hadolint.json"
@@ -169,15 +169,15 @@ jobs:
169169 needs : prepare
170170 steps :
171171 - name : Check out code from GitHub
172- 172+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
173173 - name : Set up Python ${{ needs.prepare.outputs.python-version }}
174- 174+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
175175 id : python
176176 with :
177177 python-version : ${{ needs.prepare.outputs.python-version }}
178178 - name : Restore Python virtual environment
179179 id : cache-venv
180- 180+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
181181 with :
182182 path : venv
183183 key : |
@@ -189,7 +189,7 @@ jobs:
189189 exit 1
190190 - name : Restore pre-commit environment from cache
191191 id : cache-precommit
192- 192+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
193193 with :
194194 path : ${{ env.PRE_COMMIT_CACHE }}
195195 key : |
@@ -213,15 +213,15 @@ jobs:
213213 needs : prepare
214214 steps :
215215 - name : Check out code from GitHub
216- 216+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
217217 - name : Set up Python ${{ needs.prepare.outputs.python-version }}
218- 218+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
219219 id : python
220220 with :
221221 python-version : ${{ needs.prepare.outputs.python-version }}
222222 - name : Restore Python virtual environment
223223 id : cache-venv
224- 224+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
225225 with :
226226 path : venv
227227 key : |
@@ -233,7 +233,7 @@ jobs:
233233 exit 1
234234 - name : Restore pre-commit environment from cache
235235 id : cache-precommit
236- 236+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
237237 with :
238238 path : ${{ env.PRE_COMMIT_CACHE }}
239239 key : |
@@ -257,15 +257,15 @@ jobs:
257257 needs : prepare
258258 steps :
259259 - name : Check out code from GitHub
260- 260+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
261261 - name : Set up Python ${{ needs.prepare.outputs.python-version }}
262- 262+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
263263 id : python
264264 with :
265265 python-version : ${{ needs.prepare.outputs.python-version }}
266266 - name : Restore Python virtual environment
267267 id : cache-venv
268- 268+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
269269 with :
270270 path : venv
271271 key : |
@@ -293,9 +293,9 @@ jobs:
293293 needs : prepare
294294 steps :
295295 - name : Check out code from GitHub
296- 296+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
297297 - name : Set up Python ${{ needs.prepare.outputs.python-version }}
298- 298+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
299299 id : python
300300 with :
301301 python-version : ${{ needs.prepare.outputs.python-version }}
@@ -307,7 +307,7 @@ jobs:
307307 echo "key=mypy-${{ env.MYPY_CACHE_VERSION }}-$mypy_version-$(date -u '+%Y-%m-%dT%H:%M:%s')" >> $GITHUB_OUTPUT
308308 - name : Restore Python virtual environment
309309 id : cache-venv
310- 310+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
311311 with :
312312 path : venv
313313 key : >-
@@ -318,7 +318,7 @@ jobs:
318318 echo "Failed to restore Python virtual environment from cache"
319319 exit 1
320320 - name : Restore mypy cache
321- 321+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
322322 with :
323323 path : .mypy_cache
324324 key : >-
@@ -339,19 +339,19 @@ jobs:
339339 name : Run tests Python ${{ needs.prepare.outputs.python-version }}
340340 steps :
341341 - name : Check out code from GitHub
342- 342+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
343343 - name : Set up Python ${{ needs.prepare.outputs.python-version }}
344- 344+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
345345 id : python
346346 with :
347347 python-version : ${{ needs.prepare.outputs.python-version }}
348348 - name : Install Cosign
349- 349+ uses : sigstore/cosign-installer@d58896d6a1865668819e1d91763c7751a165e159 # v3.9.2
350350 with :
351351 cosign-release : " v2.4.3"
352352 - name : Restore Python virtual environment
353353 id : cache-venv
354- 354+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
355355 with :
356356 path : venv
357357 key : |
@@ -386,7 +386,7 @@ jobs:
386386 -o console_output_style=count \
387387 tests
388388 - name : Upload coverage artifact
389- 389+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
390390 with :
391391 name : coverage
392392 path : .coverage
@@ -398,15 +398,15 @@ jobs:
398398 needs : ["pytest", "prepare"]
399399 steps :
400400 - name : Check out code from GitHub
401- 401+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
402402 - name : Set up Python ${{ needs.prepare.outputs.python-version }}
403- 403+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
404404 id : python
405405 with :
406406 python-version : ${{ needs.prepare.outputs.python-version }}
407407 - name : Restore Python virtual environment
408408 id : cache-venv
409- 409+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
410410 with :
411411 path : venv
412412 key : |
@@ -417,7 +417,7 @@ jobs:
417417 echo "Failed to restore Python virtual environment from cache"
418418 exit 1
419419 - name : Download all coverage artifacts
420- 420+ uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
421421 with :
422422 name : coverage
423423 path : coverage/
@@ -428,4 +428,4 @@ jobs:
428428 coverage report
429429 coverage xml
430430 - name : Upload coverage to Codecov
431- 431+ uses : codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
0 commit comments