Skip to content

Commit 9cbc016

Browse files
committed
Revert back to standard uses: actions notation
1 parent fc9e307 commit 9cbc016

File tree

2 files changed

+36
-36
lines changed

2 files changed

+36
-36
lines changed

.github/workflows/merge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
if: github.event.pull_request.merged == true
2424
steps:
2525
- name: Check out committed code
26-
uses: actions/checkout@v4.2.2
26+
uses: actions/checkout@v4
2727
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
2828
id: python
29-
uses: actions/setup-python@v5.5.0
29+
uses: actions/setup-python@v5
3030
with:
3131
python-version: ${{ env.DEFAULT_PYTHON }}
3232
- name: Install pypa/build

.github/workflows/verify.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ jobs:
2222
name: Prepare
2323
steps:
2424
- name: Check out committed code
25-
uses: actions/checkout@4.2.2
25+
uses: actions/checkout@4
2626
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
2727
id: python
28-
uses: actions/setup-python@v5.5.0
28+
uses: actions/setup-python@v5
2929
with:
3030
python-version: ${{ env.DEFAULT_PYTHON }}
3131
- name: Restore base Python ${{ env.DEFAULT_PYTHON }} virtual environment
3232
id: cache-venv
33-
uses: actions/cache@v4.2.3
33+
uses: actions/cache@v4
3434
with:
3535
path: venv
3636
key: >-
@@ -52,7 +52,7 @@ jobs:
5252
pip install -r requirements_test.txt -r requirements_commit.txt
5353
- name: Restore pre-commit environment from cache
5454
id: cache-precommit
55-
uses: actions/cache@v4.2.3
55+
uses: actions/cache@v4
5656
with:
5757
path: ${{ env.PRE_COMMIT_HOME }}
5858
key: |
@@ -71,17 +71,17 @@ jobs:
7171
needs: prepare
7272
steps:
7373
- name: Check out committed code
74-
uses: actions/checkout@4.2.2
74+
uses: actions/checkout@4
7575
with:
7676
persist-credentials: false
7777
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
7878
id: python
79-
uses: actions/setup-python@v5.5.0
79+
uses: actions/setup-python@v5
8080
with:
8181
python-version: ${{ env.DEFAULT_PYTHON }}
8282
- name: Restore base Python ${{ env.DEFAULT_PYTHON }} virtual environment
8383
id: cache-venv
84-
uses: actions/cache@v4.2.3
84+
uses: actions/cache@v4
8585
with:
8686
path: venv
8787
key: >-
@@ -124,15 +124,15 @@ jobs:
124124
- dependencies_check
125125
steps:
126126
- name: Check out committed code
127-
uses: actions/checkout@4.2.2
127+
uses: actions/checkout@4
128128
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
129129
id: python
130-
uses: actions/setup-python@v5.5.0
130+
uses: actions/setup-python@v5
131131
with:
132132
python-version: ${{ env.DEFAULT_PYTHON }}
133133
- name: Restore base Python ${{ env.DEFAULT_PYTHON }} virtual environment
134134
id: cache-venv
135-
uses: actions/cache@v4.2.3
135+
uses: actions/cache@v4
136136
with:
137137
path: venv
138138
key: >-
@@ -147,7 +147,7 @@ jobs:
147147
exit 1
148148
- name: Restore pre-commit environment from cache
149149
id: cache-precommit
150-
uses: actions/cache@v4.2.3
150+
uses: actions/cache@v4
151151
with:
152152
path: ${{ env.PRE_COMMIT_HOME }}
153153
key: |
@@ -175,15 +175,15 @@ jobs:
175175
python-version: ["3.13"]
176176
steps:
177177
- name: Check out committed code
178-
uses: actions/checkout@4.2.2
178+
uses: actions/checkout@4
179179
- name: Set up Python ${{ matrix.python-version }}
180180
id: python
181-
uses: actions/setup-python@v5.5.0
181+
uses: actions/setup-python@v5
182182
with:
183183
python-version: ${{ matrix.python-version }}
184184
- name: Restore full Python ${{ matrix.python-version }} virtual environment
185185
id: cache-venv
186-
uses: actions/cache@v4.2.3
186+
uses: actions/cache@v4
187187
with:
188188
path: venv
189189
key: >-
@@ -215,15 +215,15 @@ jobs:
215215

216216
steps:
217217
- name: Check out committed code
218-
uses: actions/checkout@4.2.2
218+
uses: actions/checkout@4
219219
- name: Set up Python ${{ matrix.python-version }}
220220
id: python
221-
uses: actions/setup-python@v5.5.0
221+
uses: actions/setup-python@v5
222222
with:
223223
python-version: ${{ matrix.python-version }}
224224
- name: Restore full Python ${{ matrix.python-version }} virtual environment
225225
id: cache-venv
226-
uses: actions/cache@v4.2.3
226+
uses: actions/cache@v4
227227
with:
228228
path: venv
229229
key: >-
@@ -240,7 +240,7 @@ jobs:
240240
. venv/bin/activate
241241
pytest --log-level info tests/*.py --cov='.'
242242
- name: Upload coverage artifact
243-
uses: actions/upload-artifact@v4.6.2
243+
uses: actions/upload-artifact@v4
244244
with:
245245
name: coverage-${{ matrix.python-version }}
246246
path: .coverage
@@ -253,17 +253,17 @@ jobs:
253253
needs: pytest
254254
steps:
255255
- name: Check out committed code
256-
uses: actions/checkout@4.2.2
256+
uses: actions/checkout@4
257257
with:
258258
persist-credentials: false
259259
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
260260
id: python
261-
uses: actions/setup-python@v5.5.0
261+
uses: actions/setup-python@v5
262262
with:
263263
python-version: ${{ env.DEFAULT_PYTHON }}
264264
- name: Restore base Python ${{ env.DEFAULT_PYTHON }} virtual environment
265265
id: cache-venv
266-
uses: actions/cache@v4.2.3
266+
uses: actions/cache@v4
267267
with:
268268
path: venv
269269
key: >-
@@ -293,7 +293,7 @@ jobs:
293293
runs-on: ubuntu-latest
294294
steps:
295295
- name: Check out committed code
296-
uses: actions/checkout@4.2.2
296+
uses: actions/checkout@4
297297
- name: Run ShellCheck
298298
uses: ludeeus/action-shellcheck@master
299299

@@ -303,7 +303,7 @@ jobs:
303303
name: Dependency
304304
steps:
305305
- name: Check out committed code
306-
uses: actions/checkout@4.2.2
306+
uses: actions/checkout@4
307307
- name: Run dependency checker
308308
run: scripts/dependencies_check.sh debug
309309

@@ -313,15 +313,15 @@ jobs:
313313
needs: pytest
314314
steps:
315315
- name: Check out committed code
316-
uses: actions/checkout@4.2.2
316+
uses: actions/checkout@4
317317
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
318318
id: python
319-
uses: actions/setup-python@v5.5.0
319+
uses: actions/setup-python@v5
320320
with:
321321
python-version: ${{ env.DEFAULT_PYTHON }}
322322
- name: Restore base Python ${{ env.DEFAULT_PYTHON }} virtual environment
323323
id: cache-venv
324-
uses: actions/cache@v4.2.3
324+
uses: actions/cache@v4
325325
with:
326326
path: venv
327327
key: >-
@@ -335,7 +335,7 @@ jobs:
335335
echo "Failed to restore Python virtual environment from cache"
336336
exit 1
337337
- name: Download all coverage artifacts
338-
uses: actions/download-artifact@v4.2.1
338+
uses: actions/download-artifact@v4
339339
- name: Combine coverage results
340340
run: |
341341
. venv/bin/activate
@@ -348,7 +348,7 @@ jobs:
348348
echo "***"
349349
coverage xml
350350
- name: Upload coverage to Codecov
351-
uses: codecov/codecov-action@v5.4.2
351+
uses: codecov/codecov-action@v5
352352
env:
353353
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
354354

@@ -358,15 +358,15 @@ jobs:
358358
needs: [coverage, mypy]
359359
steps:
360360
- name: Check out committed code
361-
uses: actions/checkout@4.2.2
361+
uses: actions/checkout@4
362362
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
363363
id: python
364-
uses: actions/setup-python@v5.5.0
364+
uses: actions/setup-python@v5
365365
with:
366366
python-version: ${{ env.DEFAULT_PYTHON }}
367367
- name: Restore base Python ${{ env.DEFAULT_PYTHON }} virtual environment
368368
id: cache-venv
369-
uses: actions/cache@v4.2.3
369+
uses: actions/cache@v4
370370
with:
371371
path: venv
372372
key: >-
@@ -401,15 +401,15 @@ jobs:
401401
needs: coverage
402402
steps:
403403
- name: Check out committed code
404-
uses: actions/checkout@4.2.2
404+
uses: actions/checkout@4
405405
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
406406
id: python
407-
uses: actions/setup-python@v5.5.0
407+
uses: actions/setup-python@v5
408408
with:
409409
python-version: ${{ env.DEFAULT_PYTHON }}
410410
- name: Restore base Python ${{ env.DEFAULT_PYTHON }} virtual environment
411411
id: cache-venv
412-
uses: actions/cache@v4.2.3
412+
uses: actions/cache@v4
413413
with:
414414
path: venv
415415
key: >-

0 commit comments

Comments
 (0)