Skip to content

Commit df4f568

Browse files
committed
chore(ci): bump GitHub Actions to latest versions
Update checkout to v6, upload/download-artifact to v7/v8, docker/setup-buildx-action, login-action, and build-push-action to their current major versions across release and test workflows.
1 parent d3f7889 commit df4f568

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/release.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
version: ${{ steps.version.outputs.version }}
2626
is_full_release: ${{ steps.version.outputs.is_full_release }}
2727
steps:
28-
- uses: actions/checkout@v5
28+
- uses: actions/checkout@v6
2929

3030
- name: Install Rust
3131
uses: dtolnay/rust-toolchain@stable
@@ -83,7 +83,7 @@ jobs:
8383
permissions:
8484
contents: read
8585
steps:
86-
- uses: actions/checkout@v5
86+
- uses: actions/checkout@v6
8787

8888
- name: Install Rust
8989
uses: dtolnay/rust-toolchain@stable
@@ -191,7 +191,7 @@ jobs:
191191
target: aarch64-unknown-linux-gnu
192192
label: linux-arm64
193193
steps:
194-
- uses: actions/checkout@v5
194+
- uses: actions/checkout@v6
195195

196196
- name: Install Rust
197197
uses: dtolnay/rust-toolchain@stable
@@ -228,7 +228,7 @@ jobs:
228228
tar czf nodedb-${{ needs.validate-version.outputs.version }}-${{ matrix.label }}.tar.gz nodedb
229229
ls -lh nodedb-*.tar.gz
230230
231-
- uses: actions/upload-artifact@v5
231+
- uses: actions/upload-artifact@v7
232232
with:
233233
name: server-${{ matrix.label }}
234234
path: target/${{ matrix.target }}/release/nodedb-*.tar.gz
@@ -242,10 +242,10 @@ jobs:
242242
permissions:
243243
contents: write
244244
steps:
245-
- uses: actions/checkout@v5
245+
- uses: actions/checkout@v6
246246

247247
- name: Download binary artifacts
248-
uses: actions/download-artifact@v5
248+
uses: actions/download-artifact@v8
249249
with:
250250
path: ./artifacts
251251
pattern: "server-*"
@@ -280,16 +280,16 @@ jobs:
280280
platform: linux/arm64
281281
label: arm64
282282
steps:
283-
- uses: actions/checkout@v5
283+
- uses: actions/checkout@v6
284284
- name: Set up Docker Buildx
285-
uses: docker/setup-buildx-action@v3
285+
uses: docker/setup-buildx-action@v4
286286
- name: Log in to Docker Hub
287-
uses: docker/login-action@v3
287+
uses: docker/login-action@v4
288288
with:
289289
username: ${{ secrets.DOCKERHUB_USERNAME }}
290290
password: ${{ secrets.DOCKERHUB_TOKEN }}
291291
- name: Build and push platform image
292-
uses: docker/build-push-action@v6
292+
uses: docker/build-push-action@v7
293293
with:
294294
context: .
295295
platforms: ${{ matrix.platform }}
@@ -305,7 +305,7 @@ jobs:
305305
runs-on: ubuntu-latest
306306
steps:
307307
- name: Log in to Docker Hub
308-
uses: docker/login-action@v3
308+
uses: docker/login-action@v4
309309
with:
310310
username: ${{ secrets.DOCKERHUB_USERNAME }}
311311
password: ${{ secrets.DOCKERHUB_TOKEN }}

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
name: Lint & Check
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v5
23+
- uses: actions/checkout@v6
2424
- name: Install Rust
2525
uses: dtolnay/rust-toolchain@stable
2626
with:
@@ -43,7 +43,7 @@ jobs:
4343
name: Test
4444
runs-on: ubuntu-latest
4545
steps:
46-
- uses: actions/checkout@v5
46+
- uses: actions/checkout@v6
4747
- name: Install Rust
4848
uses: dtolnay/rust-toolchain@stable
4949
- uses: Swatinem/rust-cache@v2

0 commit comments

Comments
 (0)