Skip to content

Commit 1237aa3

Browse files
committed
Fix windows-arm build
- Update nodejs version (version 16 wasn't available on windows-arm) - Switch to actions-rust-lang/setup-rust-toolchain@v1 for installing the toolchain - windows-arm by default doesn't support rustup; instead of explicitly installing it, I just used the dedicated action for that
1 parent 81a96e0 commit 1237aa3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/compile-tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Initialize node.js environment
2323
uses: actions/setup-node@v3
2424
with:
25-
node-version: 16
25+
node-version: 22
2626

2727
- name: Install dependencies
2828
working-directory: tests/assemblyscript
@@ -58,7 +58,9 @@ jobs:
5858
uses: actions/checkout@v3
5959

6060
- name: Install wasm32-wasip1 target for Rust
61-
run: rustup target add wasm32-wasip1
61+
uses: actions-rust-lang/setup-rust-toolchain@v1
62+
with:
63+
target: wasm32-wasip1
6264

6365
- name: Build tests
6466
working-directory: tests/rust

0 commit comments

Comments
 (0)