Skip to content

Commit f67e84e

Browse files
committed
ci: bump GitHub Actions to latest majors (Node 24 runtime)
Replaces actions still on the deprecating Node 20 runtime. GitHub skipped a Node 22 runtime, so the modern replacement is Node 24.
1 parent 6e84424 commit f67e84e

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/CI-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ jobs:
1919
steps:
2020
- name: Generate release token
2121
id: app-token
22-
uses: actions/create-github-app-token@v1
22+
uses: actions/create-github-app-token@v3
2323
with:
2424
app-id: ${{ secrets.RELEASE_APP_ID }}
2525
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
2626

27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v6
2828
with:
2929
ref: master
3030
fetch-depth: 0
3131
token: ${{ steps.app-token.outputs.token }}
3232

33-
- uses: actions/setup-node@v4
33+
- uses: actions/setup-node@v6
3434
with:
3535
node-version: 22
3636
cache: 'npm'

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ jobs:
3939
timeout-minutes: 20
4040

4141
steps:
42-
- uses: actions/checkout@v4
42+
- uses: actions/checkout@v6
4343
with:
4444
ref: ${{ github.head_ref }}
45-
- uses: actions/setup-node@v4
45+
- uses: actions/setup-node@v6
4646
with:
4747
node-version: 22
4848
cache: 'npm'

.github/workflows/docker-publish.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ jobs:
1717

1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v6
2121
with:
2222
fetch-depth: 0
2323
ref: ${{ github.event.workflow_run.head_sha }}
2424

2525
- name: Set up Docker Buildx
26-
uses: docker/setup-buildx-action@v3
26+
uses: docker/setup-buildx-action@v4
2727

2828
# Build for local platform only (amd64) and load into Docker for testing
2929
- name: Build image for testing
30-
uses: docker/build-push-action@v6
30+
uses: docker/build-push-action@v7
3131
with:
3232
context: .
3333
load: true
@@ -122,18 +122,18 @@ jobs:
122122

123123
steps:
124124
- name: Checkout
125-
uses: actions/checkout@v4
125+
uses: actions/checkout@v6
126126
with:
127127
fetch-depth: 0
128128
ref: ${{ github.event.workflow_run.head_sha }}
129129

130130
- name: Get latest release tag
131131
id: previoustag
132-
uses: WyriHaximus/github-action-get-previous-tag@v1
132+
uses: WyriHaximus/github-action-get-previous-tag@v2
133133

134134
- name: Docker meta
135135
id: meta
136-
uses: docker/metadata-action@v5
136+
uses: docker/metadata-action@v6
137137
with:
138138
images: ghcr.io/bitsocialnet/bitsocial-cli
139139
tags: |
@@ -143,21 +143,21 @@ jobs:
143143
type=raw,value=latest
144144
145145
- name: Set up QEMU
146-
uses: docker/setup-qemu-action@v3
146+
uses: docker/setup-qemu-action@v4
147147

148148
- name: Set up Docker Buildx
149-
uses: docker/setup-buildx-action@v3
149+
uses: docker/setup-buildx-action@v4
150150

151151
- name: Login to GitHub Container Registry
152-
uses: docker/login-action@v3
152+
uses: docker/login-action@v4
153153
with:
154154
registry: ghcr.io
155155
username: ${{ github.actor }}
156156
password: ${{ secrets.GITHUB_TOKEN }}
157157

158158
# Full multi-arch build and push
159159
- name: Build and push
160-
uses: docker/build-push-action@v6
160+
uses: docker/build-push-action@v7
161161
with:
162162
context: .
163163
push: true

0 commit comments

Comments
 (0)