Skip to content

Commit 70d2d15

Browse files
authored
Update actions/checkout to v6 (#330)
Addresses this warning: ``` Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. ```
1 parent 16ebf17 commit 70d2d15

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/main.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
container:
1616
image: swift:6.2-noble
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v6
1919
- name: Re-generate auto-generated code checks
2020
run: |
2121
swift run -q --package-path Utilities WasmKitDevUtils
@@ -37,7 +37,7 @@ jobs:
3737
- toolchain: main-snapshot
3838
test-args: "-Xswiftc -DWASMKIT_CI_TOOLCHAIN_MAIN_NIGHTLY"
3939
steps:
40-
- uses: actions/checkout@v4
40+
- uses: actions/checkout@v6
4141
- id: setup-development
4242
run: |
4343
brew install wabt jemalloc
@@ -90,7 +90,7 @@ jobs:
9090
runs-on: ${{ matrix.os }}
9191
name: "build-macos (${{ matrix.xcode }})"
9292
steps:
93-
- uses: actions/checkout@v4
93+
- uses: actions/checkout@v6
9494
- id: setup-development
9595
run: |
9696
toolchain_path="/Library/Developer/Toolchains/${{ matrix.development-toolchain-tag }}.xctoolchain"
@@ -121,7 +121,7 @@ jobs:
121121
build-xcode:
122122
runs-on: macos-26
123123
steps:
124-
- uses: actions/checkout@v4
124+
- uses: actions/checkout@v6
125125
- name: Prepare Xcode platforms
126126
run: |
127127
set -euxo pipefail
@@ -192,7 +192,7 @@ jobs:
192192
name: "build-linux (${{ matrix.swift }}${{ matrix.label }})"
193193

194194
steps:
195-
- uses: actions/checkout@v4
195+
- uses: actions/checkout@v6
196196
- name: Configure container
197197
run: |
198198
docker run -dit --name build-container -v $PWD:/workspace -w /workspace ${{ matrix.swift }}
@@ -263,7 +263,7 @@ jobs:
263263
musl-swift-sdk-download: "https://download.swift.org/swift-6.2.3-release/static-sdk/swift-6.2.3-RELEASE/swift-6.2.3-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz"
264264
musl-swift-sdk-checksum: "f30ec724d824ef43b5546e02ca06a8682dafab4b26a99fbb0e858c347e507a2c"
265265
steps:
266-
- uses: actions/checkout@v4
266+
- uses: actions/checkout@v6
267267
- name: Configure container
268268
run: |
269269
docker run -dit --name build-container -v $PWD:/workspace -w /workspace swift:${{ matrix.swift }}
@@ -289,7 +289,7 @@ jobs:
289289
- swift-version: nightly-main
290290

291291
steps:
292-
- uses: actions/checkout@v4
292+
- uses: actions/checkout@v6
293293
- name: Free up disk space
294294
run: ./CI/gha-free-disk-space.sh
295295
- name: Run Tests on Android emulator
@@ -305,7 +305,7 @@ jobs:
305305
with:
306306
swift-version: swift-6.2-release
307307
swift-build: 6.2-RELEASE
308-
- uses: actions/checkout@v4
308+
- uses: actions/checkout@v6
309309
- run: python3 ./Vendor/checkout-dependency --category default
310310
# FIXME: CMake build is failing on CI due to "link: extra operand '/OUT:lib\\libXXXX.a'" error
311311
# # Check Windows build with CMake
@@ -325,7 +325,7 @@ jobs:
325325
container:
326326
image: swift:6.2-noble
327327
steps:
328-
- uses: actions/checkout@v4
328+
- uses: actions/checkout@v6
329329
- name: Install Ninja
330330
run: apt-get update && apt-get install -y ninja-build
331331
- name: Install CMake
@@ -341,7 +341,7 @@ jobs:
341341
container:
342342
image: swift:6.2-noble
343343
steps:
344-
- uses: actions/checkout@v4
344+
- uses: actions/checkout@v6
345345
- name: Install jq
346346
run: apt-get update && apt-get install -y jq
347347
- name: Install Swift SDK

0 commit comments

Comments
 (0)