Skip to content

Commit e69c646

Browse files
Update GitHub Actions to Node.js 24 compatible versions (#100)
Pin all actions to SHA commits targeting Node 24 runtime to address the upcoming Node.js 20 deprecation (June 2, 2026). Updated: - actions/checkout v4.3.1 -> v6.0.2 - actions/github-script v7.0.1 -> v8.0.0 - actions/cache v4.3.0 -> v5.0.5 - actions/upload-artifact v4.6.2 -> v7.0.1 - actions/download-artifact v4.3.0 -> v7.0.0 - docker/setup-buildx-action v3.11.1 -> v4.0.0 Not yet available as Node 24: - lukka/run-vcpkg Remaining actions that do not leverage Node.js 20 were not updated.
1 parent 65b3869 commit e69c646

6 files changed

Lines changed: 32 additions & 32 deletions

File tree

.github/workflows/builds.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888

8989
steps:
9090
- name: Checkout (with submodules)
91-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
91+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9292
with:
9393
submodules: recursive
9494
fetch-depth: 1
@@ -99,7 +99,7 @@ jobs:
9999
# ---------- vcpkg caching for Windows ----------
100100
- name: Export GitHub Actions cache environment variables
101101
if: runner.os == 'Windows'
102-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
102+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
103103
with:
104104
script: |
105105
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
@@ -149,7 +149,7 @@ jobs:
149149

150150
# ---------- Cache Cargo ----------
151151
- name: Cache Cargo registry
152-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
152+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
153153
with:
154154
path: |
155155
~/.cargo/registry
@@ -158,7 +158,7 @@ jobs:
158158
restore-keys: ${{ runner.os }}-${{ matrix.name }}-cargo-reg-
159159

160160
- name: Cache Cargo target
161-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
161+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
162162
with:
163163
path: client-sdk-rust/target
164164
key: ${{ runner.os }}-${{ matrix.name }}-cargo-target-${{ hashFiles('**/Cargo.lock') }}
@@ -304,15 +304,15 @@ jobs:
304304
305305
- name: Upload test results
306306
if: always()
307-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
307+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
308308
with:
309309
name: test-results-${{ matrix.name }}
310310
path: ${{ matrix.build_dir }}/unit-test-results.xml
311311
retention-days: 7
312312

313313
# ---------- Upload artifacts ----------
314314
- name: Upload build artifacts
315-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
315+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
316316
with:
317317
name: livekit-sdk-${{ matrix.name }}
318318
path: |
@@ -339,7 +339,7 @@ jobs:
339339

340340
steps:
341341
- name: Checkout (with submodules)
342-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
342+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
343343
with:
344344
submodules: recursive
345345
fetch-depth: 0
@@ -406,7 +406,7 @@ jobs:
406406
docker save livekit-cpp-sdk-x64:${{ github.sha }} | gzip > livekit-cpp-sdk-x64-docker.tar.gz
407407
408408
- name: Upload Docker image artifact
409-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
409+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
410410
with:
411411
name: livekit-cpp-sdk-docker-x64
412412
path: livekit-cpp-sdk-x64-docker.tar.gz
@@ -419,7 +419,7 @@ jobs:
419419

420420
steps:
421421
- name: Checkout (with submodules)
422-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
422+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
423423
with:
424424
submodules: recursive
425425
fetch-depth: 0
@@ -486,7 +486,7 @@ jobs:
486486
docker save livekit-cpp-sdk:${{ github.sha }} | gzip > livekit-cpp-sdk-arm64-docker.tar.gz
487487
488488
- name: Upload Docker image artifact
489-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
489+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
490490
with:
491491
name: livekit-cpp-sdk-docker-arm64
492492
path: livekit-cpp-sdk-arm64-docker.tar.gz
@@ -500,7 +500,7 @@ jobs:
500500

501501
steps:
502502
- name: Download Docker image artifact
503-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
503+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
504504
with:
505505
name: livekit-cpp-sdk-docker-arm64
506506

@@ -527,7 +527,7 @@ jobs:
527527

528528
steps:
529529
- name: Download Docker image artifact
530-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
530+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
531531
with:
532532
name: livekit-cpp-sdk-docker-x64
533533

.github/workflows/docker-images.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
sdk_image: ${{ steps.refs.outputs.sdk_image }}
3535
steps:
3636
- name: Checkout
37-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
37+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3838
with:
3939
fetch-depth: 0
4040

@@ -106,7 +106,7 @@ jobs:
106106

107107
steps:
108108
- name: Checkout
109-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
109+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
110110

111111
- name: Free disk space
112112
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
@@ -120,7 +120,7 @@ jobs:
120120
swap-storage: true
121121

122122
- name: Set up Docker Buildx
123-
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
123+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
124124

125125
- name: Login to GHCR
126126
shell: bash
@@ -150,7 +150,7 @@ jobs:
150150

151151
steps:
152152
- name: Checkout
153-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
153+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
154154

155155
- name: Free disk space
156156
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
@@ -164,7 +164,7 @@ jobs:
164164
swap-storage: true
165165

166166
- name: Set up Docker Buildx
167-
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
167+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
168168

169169
- name: Login to GHCR
170170
shell: bash
@@ -197,7 +197,7 @@ jobs:
197197

198198
steps:
199199
- name: Set up Docker Buildx
200-
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
200+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
201201

202202
- name: Login to GHCR
203203
shell: bash
@@ -231,7 +231,7 @@ jobs:
231231
232232
steps:
233233
- name: Checkout
234-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
234+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
235235
with:
236236
submodules: recursive
237237
fetch-depth: 0
@@ -248,7 +248,7 @@ jobs:
248248
swap-storage: true
249249

250250
- name: Set up Docker Buildx
251-
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
251+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
252252

253253
- name: Login to GHCR
254254
shell: bash
@@ -285,7 +285,7 @@ jobs:
285285
286286
steps:
287287
- name: Checkout
288-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
288+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
289289
with:
290290
submodules: recursive
291291
fetch-depth: 0
@@ -302,7 +302,7 @@ jobs:
302302
swap-storage: true
303303

304304
- name: Set up Docker Buildx
305-
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
305+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
306306

307307
- name: Login to GHCR
308308
shell: bash
@@ -342,7 +342,7 @@ jobs:
342342
343343
steps:
344344
- name: Set up Docker Buildx
345-
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
345+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
346346

347347
- name: Login to GHCR
348348
shell: bash

.github/workflows/license_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
contents: read
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
14+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1515
- name: Check License Headers
1616
shell: bash
1717
run: |

.github/workflows/make-release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
steps:
4747
- name: Checkout (with submodules)
48-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
48+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4949
with:
5050
submodules: recursive
5151
fetch-depth: 0
@@ -87,7 +87,7 @@ jobs:
8787
# ---------- vcpkg for Windows ----------
8888
- name: Export GitHub Actions cache environment variables
8989
if: runner.os == 'Windows'
90-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
90+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
9191
with:
9292
script: |
9393
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
@@ -136,7 +136,7 @@ jobs:
136136

137137
# ---------- Cache Cargo ----------
138138
- name: Cache Cargo registry
139-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
139+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
140140
with:
141141
path: |
142142
~/.cargo/registry
@@ -201,7 +201,7 @@ jobs:
201201
202202
# ---------- Upload artifact (raw directory, no pre-compression) ----------
203203
- name: Upload build artifact
204-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
204+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
205205
with:
206206
name: livekit-sdk-${{ matrix.name }}-${{ steps.version.outputs.version }}
207207
path: sdk-out/livekit-sdk-${{ matrix.name }}-${{ steps.version.outputs.version }}
@@ -217,7 +217,7 @@ jobs:
217217

218218
steps:
219219
- name: Checkout
220-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
220+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
221221

222222
- name: Extract version
223223
id: version
@@ -249,7 +249,7 @@ jobs:
249249
echo "SDK Version: $VERSION"
250250
251251
- name: Download all artifacts
252-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
252+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
253253
with:
254254
path: ${{ github.workspace }}/artifacts
255255

.github/workflows/pin_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
contents: read
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
14+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1515
- name: Pin Check
1616
uses: suzuki-shunsuke/pinact-action@cf51507d80d4d6522a07348e3d58790290eaf0b6 # v2.0.0
1717
with:

.github/workflows/publish-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
docs:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
11+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1212
# Note: submodules and LFS not needed for docs generation
1313
# Doxygen only reads from include/, docs/, README.md, and examples/
1414

0 commit comments

Comments
 (0)