Skip to content

Commit 08127de

Browse files
committed
⬆️ Update GitHub actions
1 parent 8d04373 commit 08127de

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

docs/productive/git/advanced/gitlab/github-migration.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ GitHub Actions syntax for jobs
4343
jobs:
4444
my_job:
4545
steps:
46-
- uses: actions/checkout@v3
46+
- uses: actions/checkout@v4
4747
- run: echo "Run my script here"
4848
4949
GitLab CI/CD syntax for jobs
@@ -308,8 +308,8 @@ GitHub Actions syntax for databases and service containers
308308
309309
steps:
310310
- name: Python
311-
uses: actions/checkout@v3
312-
uses: actions/setup-python@v4
311+
uses: actions/checkout@v4
312+
uses: actions/setup-python@v5
313313
with:
314314
python-version: '3.10'
315315
@@ -344,7 +344,7 @@ Mapping
344344
+-----------------------------------------------+-----------------------------------------------+
345345
| ``actions/upload-artifact@v2`` | ``artifacts`` |
346346
+-----------------------------------------------+-----------------------------------------------+
347-
| ``actions/cache@v2`` | ``cache`` |
347+
| ``actions/cache@v4`` | ``cache`` |
348348
+-----------------------------------------------+-----------------------------------------------+
349349
| ``actions/download-artifact@v2`` | ``dependencies`` |
350350
+-----------------------------------------------+-----------------------------------------------+

docs/productive/git/advanced/hooks/ci.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ Examples for GitHub Actions
3939
pre-commit:
4040
runs-on: ubuntu-latest
4141
steps:
42-
- uses: actions/checkout@v3
43-
- uses: actions/setup-python@v3
44-
- uses: actions/cache@v3
42+
- uses: actions/checkout@v4
43+
- uses: actions/setup-python@v5
44+
- uses: actions/cache@v4
4545
with:
4646
path: ~/.cache/pre-commit
4747
key: pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}

docs/productive/licensing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ You can easily integrate REUSE into your continuous integration workflow:
419419
test:
420420
runs-on: ubuntu-latest
421421
steps:
422-
- uses: actions/checkout@v3
422+
- uses: actions/checkout@v4
423423
- name: REUSE Compliance Check
424424
uses: fsfe/reuse-action@v2
425425

0 commit comments

Comments
 (0)