Skip to content

Commit 8b34e94

Browse files
authored
Update GitHub actions to newest versions (#638)
These changes are required to use NodeJS 20 on GitHub. https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
1 parent c17acec commit 8b34e94

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/main.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
if: "!contains(github.event.head_commit.message, '[ci-skip]')"
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v2
14-
13+
uses: actions/checkout@v4
14+
1515
- name: Prepare
1616
id: prep
1717
run: |
@@ -35,12 +35,12 @@ jobs:
3535
3636
3737
- name: Set up QEMU
38-
uses: docker/setup-qemu-action@v1
38+
uses: docker/setup-qemu-action@v3
3939
with:
4040
platforms: ${{ steps.prep.outputs.platforms }}
41-
41+
4242
- name: Login to GHCR (Github Container Registry)
43-
uses: docker/#-action@v1
43+
uses: docker/#-action@v3
4444
if: github.event_name != 'pull_request'
4545
with:
4646
registry: ghcr.io
@@ -49,22 +49,22 @@ jobs:
4949

5050
- name: Set up Docker Buildx
5151
id: buildx
52-
uses: docker/setup-buildx-action@v1
52+
uses: docker/setup-buildx-action@v3
5353
with:
5454
install: true
5555
version: latest
5656
driver-opts: image=moby/buildkit:latest
57-
57+
5858

5959
- name: Login to Docker Hub
6060
if: github.event_name != 'pull_request'
61-
uses: docker/#-action@v1
61+
uses: docker/#-action@v3
6262
with:
6363
username: ${{ secrets.DOCKER_USERNAME }}
6464
password: ${{ secrets.DOCKER_PASSWORD }}
65-
65+
6666
- name: Build and Push
67-
uses: docker/build-push-action@v2
67+
uses: docker/build-push-action@v5
6868
with:
6969
builder: ${{ steps.buildx.outputs.name }}
7070
context: image

.github/workflows/stale.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
stale:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/stale@v3
10+
- uses: actions/stale@v9
1111
with:
1212
repo-token: ${{ secrets.GITHUB_TOKEN }}
1313
stale-issue-message: 'This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.'

0 commit comments

Comments
 (0)