Skip to content

Commit 3e6dee0

Browse files
Merge pull request #70 from theohbrothers/refactor/ci-bump-actions-to-node-20
Refactor (ci): Bump actions to node 20
2 parents 7bb0474 + d94ab8a commit 3e6dee0

File tree

4 files changed

+39
-39
lines changed

4 files changed

+39
-39
lines changed

.github/workflows/ci-master-pr.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- run: |
2020
apk add --no-cache git
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222
- name: Ignore git permissions
2323
run: |
2424
git config --global --add safe.directory "$( pwd )"
@@ -54,11 +54,11 @@ jobs:
5454
5555
# See: https://github.com/docker/build-push-action/blob/v2.6.1/docs/advanced/cache.md#github-cache
5656
- name: Set up QEMU
57-
uses: docker/setup-qemu-action@v2
57+
uses: docker/setup-qemu-action@v3
5858

5959
- name: Set up Docker Buildx
6060
id: buildx
61-
uses: docker/setup-buildx-action@v2
61+
uses: docker/setup-buildx-action@v3
6262

6363
- name: Cache Docker layers
6464
uses: actions/cache@v4
@@ -72,7 +72,7 @@ jobs:
7272
- name: Login to Docker Hub registry
7373
# Run on master and tags
7474
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
75-
uses: docker/login-action@v2
75+
uses: docker/login-action@v3
7676
with:
7777
username: ${{ secrets.DOCKERHUB_REGISTRY_USER }}
7878
password: ${{ secrets.DOCKERHUB_REGISTRY_PASSWORD }}
@@ -509,11 +509,11 @@ jobs:
509509
510510
# See: https://github.com/docker/build-push-action/blob/v2.6.1/docs/advanced/cache.md#github-cache
511511
- name: Set up QEMU
512-
uses: docker/setup-qemu-action@v2
512+
uses: docker/setup-qemu-action@v3
513513

514514
- name: Set up Docker Buildx
515515
id: buildx
516-
uses: docker/setup-buildx-action@v2
516+
uses: docker/setup-buildx-action@v3
517517

518518
- name: Cache Docker layers
519519
uses: actions/cache@v4
@@ -527,7 +527,7 @@ jobs:
527527
- name: Login to Docker Hub registry
528528
# Run on master and tags
529529
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
530-
uses: docker/login-action@v2
530+
uses: docker/login-action@v3
531531
with:
532532
username: ${{ secrets.DOCKERHUB_REGISTRY_USER }}
533533
password: ${{ secrets.DOCKERHUB_REGISTRY_PASSWORD }}
@@ -963,11 +963,11 @@ jobs:
963963
964964
# See: https://github.com/docker/build-push-action/blob/v2.6.1/docs/advanced/cache.md#github-cache
965965
- name: Set up QEMU
966-
uses: docker/setup-qemu-action@v2
966+
uses: docker/setup-qemu-action@v3
967967

968968
- name: Set up Docker Buildx
969969
id: buildx
970-
uses: docker/setup-buildx-action@v2
970+
uses: docker/setup-buildx-action@v3
971971

972972
- name: Cache Docker layers
973973
uses: actions/cache@v4
@@ -981,7 +981,7 @@ jobs:
981981
- name: Login to Docker Hub registry
982982
# Run on master and tags
983983
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
984-
uses: docker/login-action@v2
984+
uses: docker/login-action@v3
985985
with:
986986
username: ${{ secrets.DOCKERHUB_REGISTRY_USER }}
987987
password: ${{ secrets.DOCKERHUB_REGISTRY_PASSWORD }}
@@ -1417,11 +1417,11 @@ jobs:
14171417
14181418
# See: https://github.com/docker/build-push-action/blob/v2.6.1/docs/advanced/cache.md#github-cache
14191419
- name: Set up QEMU
1420-
uses: docker/setup-qemu-action@v2
1420+
uses: docker/setup-qemu-action@v3
14211421

14221422
- name: Set up Docker Buildx
14231423
id: buildx
1424-
uses: docker/setup-buildx-action@v2
1424+
uses: docker/setup-buildx-action@v3
14251425

14261426
- name: Cache Docker layers
14271427
uses: actions/cache@v4
@@ -1435,7 +1435,7 @@ jobs:
14351435
- name: Login to Docker Hub registry
14361436
# Run on master and tags
14371437
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
1438-
uses: docker/login-action@v2
1438+
uses: docker/login-action@v3
14391439
with:
14401440
username: ${{ secrets.DOCKERHUB_REGISTRY_USER }}
14411441
password: ${{ secrets.DOCKERHUB_REGISTRY_PASSWORD }}
@@ -1871,11 +1871,11 @@ jobs:
18711871
18721872
# See: https://github.com/docker/build-push-action/blob/v2.6.1/docs/advanced/cache.md#github-cache
18731873
- name: Set up QEMU
1874-
uses: docker/setup-qemu-action@v2
1874+
uses: docker/setup-qemu-action@v3
18751875

18761876
- name: Set up Docker Buildx
18771877
id: buildx
1878-
uses: docker/setup-buildx-action@v2
1878+
uses: docker/setup-buildx-action@v3
18791879

18801880
- name: Cache Docker layers
18811881
uses: actions/cache@v4
@@ -1889,7 +1889,7 @@ jobs:
18891889
- name: Login to Docker Hub registry
18901890
# Run on master and tags
18911891
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
1892-
uses: docker/login-action@v2
1892+
uses: docker/login-action@v3
18931893
with:
18941894
username: ${{ secrets.DOCKERHUB_REGISTRY_USER }}
18951895
password: ${{ secrets.DOCKERHUB_REGISTRY_PASSWORD }}
@@ -2325,11 +2325,11 @@ jobs:
23252325
23262326
# See: https://github.com/docker/build-push-action/blob/v2.6.1/docs/advanced/cache.md#github-cache
23272327
- name: Set up QEMU
2328-
uses: docker/setup-qemu-action@v2
2328+
uses: docker/setup-qemu-action@v3
23292329

23302330
- name: Set up Docker Buildx
23312331
id: buildx
2332-
uses: docker/setup-buildx-action@v2
2332+
uses: docker/setup-buildx-action@v3
23332333

23342334
- name: Cache Docker layers
23352335
uses: actions/cache@v4
@@ -2343,7 +2343,7 @@ jobs:
23432343
- name: Login to Docker Hub registry
23442344
# Run on master and tags
23452345
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
2346-
uses: docker/login-action@v2
2346+
uses: docker/login-action@v3
23472347
with:
23482348
username: ${{ secrets.DOCKERHUB_REGISTRY_USER }}
23492349
password: ${{ secrets.DOCKERHUB_REGISTRY_PASSWORD }}
@@ -2779,11 +2779,11 @@ jobs:
27792779
27802780
# See: https://github.com/docker/build-push-action/blob/v2.6.1/docs/advanced/cache.md#github-cache
27812781
- name: Set up QEMU
2782-
uses: docker/setup-qemu-action@v2
2782+
uses: docker/setup-qemu-action@v3
27832783

27842784
- name: Set up Docker Buildx
27852785
id: buildx
2786-
uses: docker/setup-buildx-action@v2
2786+
uses: docker/setup-buildx-action@v3
27872787

27882788
- name: Cache Docker layers
27892789
uses: actions/cache@v4
@@ -2797,7 +2797,7 @@ jobs:
27972797
- name: Login to Docker Hub registry
27982798
# Run on master and tags
27992799
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
2800-
uses: docker/login-action@v2
2800+
uses: docker/login-action@v3
28012801
with:
28022802
username: ${{ secrets.DOCKERHUB_REGISTRY_USER }}
28032803
password: ${{ secrets.DOCKERHUB_REGISTRY_PASSWORD }}
@@ -3233,11 +3233,11 @@ jobs:
32333233
32343234
# See: https://github.com/docker/build-push-action/blob/v2.6.1/docs/advanced/cache.md#github-cache
32353235
- name: Set up QEMU
3236-
uses: docker/setup-qemu-action@v2
3236+
uses: docker/setup-qemu-action@v3
32373237

32383238
- name: Set up Docker Buildx
32393239
id: buildx
3240-
uses: docker/setup-buildx-action@v2
3240+
uses: docker/setup-buildx-action@v3
32413241

32423242
- name: Cache Docker layers
32433243
uses: actions/cache@v4
@@ -3251,7 +3251,7 @@ jobs:
32513251
- name: Login to Docker Hub registry
32523252
# Run on master and tags
32533253
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
3254-
uses: docker/login-action@v2
3254+
uses: docker/login-action@v3
32553255
with:
32563256
username: ${{ secrets.DOCKERHUB_REGISTRY_USER }}
32573257
password: ${{ secrets.DOCKERHUB_REGISTRY_PASSWORD }}
@@ -3479,7 +3479,7 @@ jobs:
34793479
runs-on: ubuntu-latest
34803480
steps:
34813481
# Drafts your next Release notes as Pull Requests are merged into "master"
3482-
- uses: release-drafter/release-drafter@v5
3482+
- uses: release-drafter/release-drafter@v6
34833483
with:
34843484
config-name: release-drafter.yml
34853485
publish: false
@@ -3500,7 +3500,7 @@ jobs:
35003500
runs-on: ubuntu-latest
35013501
steps:
35023502
# Drafts your next Release notes as Pull Requests are merged into "master"
3503-
- uses: release-drafter/release-drafter@v5
3503+
- uses: release-drafter/release-drafter@v6
35043504
with:
35053505
config-name: release-drafter.yml
35063506
publish: true
@@ -3522,9 +3522,9 @@ jobs:
35223522
if: github.ref == 'refs/heads/master'
35233523
runs-on: ubuntu-latest
35243524
steps:
3525-
- uses: actions/checkout@v3
3525+
- uses: actions/checkout@v4
35263526
- name: Docker Hub Description
3527-
uses: peter-evans/dockerhub-description@v3
3527+
uses: peter-evans/dockerhub-description@v4
35283528
with:
35293529
username: ${{ secrets.DOCKERHUB_REGISTRY_USER }}
35303530
password: ${{ secrets.DOCKERHUB_REGISTRY_PASSWORD }}

.github/workflows/cron.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
# See: https://stackoverflow.com/questions/68811838/refusing-to-allow-a-personal-access-token-to-create-or-update-workflow
1616
# See: https://stackoverflow.com/questions/66643917/refusing-to-allow-a-github-app-to-create-or-update-workflow
1717
- name: Checkout
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919
with:
2020
token: ${{ secrets.WORKFLOW_TOKEN }} # This configures the git repo to use this token
2121
fetch-depth: 0 # Fetch all branches and tags

generate/templates/.github/workflows/ci-master-pr.yml.ps1

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- run: |
2121
apk add --no-cache git
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323
- name: Ignore git permissions
2424
run: |
2525
git config --global --add safe.directory "$( pwd )"
@@ -65,11 +65,11 @@ foreach ($g in $groups) {
6565
6666
# See: https://github.com/docker/build-push-action/blob/v2.6.1/docs/advanced/cache.md#github-cache
6767
- name: Set up QEMU
68-
uses: docker/setup-qemu-action@v2
68+
uses: docker/setup-qemu-action@v3
6969
7070
- name: Set up Docker Buildx
7171
id: buildx
72-
uses: docker/setup-buildx-action@v2
72+
uses: docker/setup-buildx-action@v3
7373
7474
- name: Cache Docker layers
7575
uses: actions/cache@v4
@@ -83,7 +83,7 @@ foreach ($g in $groups) {
8383
- name: Login to Docker Hub registry
8484
# Run on master and tags
8585
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
86-
uses: docker/login-action@v2
86+
uses: docker/login-action@v3
8787
with:
8888
username: `${{ secrets.DOCKERHUB_REGISTRY_USER }}
8989
password: `${{ secrets.DOCKERHUB_REGISTRY_PASSWORD }}
@@ -194,7 +194,7 @@ if ( $v['tag_as_latest'] ) {
194194
runs-on: ubuntu-latest
195195
steps:
196196
# Drafts your next Release notes as Pull Requests are merged into "master"
197-
- uses: release-drafter/release-drafter@v5
197+
- uses: release-drafter/release-drafter@v6
198198
with:
199199
config-name: release-drafter.yml
200200
publish: false
@@ -208,7 +208,7 @@ if ( $v['tag_as_latest'] ) {
208208
runs-on: ubuntu-latest
209209
steps:
210210
# Drafts your next Release notes as Pull Requests are merged into "master"
211-
- uses: release-drafter/release-drafter@v5
211+
- uses: release-drafter/release-drafter@v6
212212
with:
213213
config-name: release-drafter.yml
214214
publish: true
@@ -223,9 +223,9 @@ if ( $v['tag_as_latest'] ) {
223223
if: github.ref == 'refs/heads/master'
224224
runs-on: ubuntu-latest
225225
steps:
226-
- uses: actions/checkout@v3
226+
- uses: actions/checkout@v4
227227
- name: Docker Hub Description
228-
uses: peter-evans/dockerhub-description@v3
228+
uses: peter-evans/dockerhub-description@v4
229229
with:
230230
username: `${{ secrets.DOCKERHUB_REGISTRY_USER }}
231231
password: `${{ secrets.DOCKERHUB_REGISTRY_PASSWORD }}

generate/templates/.github/workflows/cron.yml.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
# See: https://stackoverflow.com/questions/68811838/refusing-to-allow-a-personal-access-token-to-create-or-update-workflow
1717
# See: https://stackoverflow.com/questions/66643917/refusing-to-allow-a-github-app-to-create-or-update-workflow
1818
- name: Checkout
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
with:
2121
token: ${{ secrets.WORKFLOW_TOKEN }} # This configures the git repo to use this token
2222
fetch-depth: 0 # Fetch all branches and tags

0 commit comments

Comments
 (0)