Skip to content

Commit 7e1cde0

Browse files
refactor(ci): use 'stable' a rust version, add matrix var
1 parent 1d4719e commit 7e1cde0

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ jobs:
4646
matrix:
4747
node-version:
4848
- '24.10.0'
49+
rust-version:
50+
- 'stable'
4951
os:
5052
- windows-latest
5153
- ubuntu-latest
@@ -64,8 +66,8 @@ jobs:
6466
- name: Install Rust Toolchain
6567
if: steps.splicer-build.outputs.cache-hit != 'true'
6668
run: |
67-
rustup toolchain install 1.80.0
68-
rustup target add wasm32-wasip1 --toolchain 1.80.0
69+
rustup toolchain install ${{ matrix.rust-version }}
70+
rustup target add wasm32-wasip1 --toolchain ${{ matrix.rust-version }}
6971
rustup target add wasm32-wasip1
7072
7173
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
@@ -90,6 +92,8 @@ jobs:
9092
matrix:
9193
node-version:
9294
- '24.10.0'
95+
rust-version:
96+
- 'stable'
9397
os:
9498
# NOTE: at present the build does *not* work on windows. Required binaries are built here
9599
# (only on linux) and reused in later steps
@@ -115,8 +119,8 @@ jobs:
115119
- name: Install Rust Toolchain
116120
if: steps.starlingmonkey-build.outputs.cache-hit != 'true'
117121
run: |
118-
rustup toolchain install 1.80.0
119-
rustup target add wasm32-wasip1 --toolchain 1.80.0
122+
rustup toolchain install ${{ matrix.rust-version }}
123+
rustup target add wasm32-wasip1 --toolchain ${{ matrix.rust-version }}
120124
rustup target add wasm32-wasip1
121125
122126
- name: Install wasm-tools

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
strategy:
106106
matrix:
107107
rust-version:
108-
- 1.80.0
108+
- stable
109109
steps:
110110
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
111111
with:

0 commit comments

Comments
 (0)