50
50
uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
51
51
52
52
- name : Install Rust Toolchain
53
- run : rustup default ${{ matrix.channel }}-${{ matrix.rust_target }}
53
+ run : rustup update ${{ matrix.channel }}-${{ matrix.rust_target }} && rustup default ${{ matrix.channel }}-${{ matrix.rust_target }}
54
54
55
55
- name : Install cargo-hack
56
56
run : cargo install cargo-hack
74
74
- name : Checkout sources
75
75
uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
76
76
77
+ - name : Install Rust Toolchain
78
+ run : rustup update stable
79
+
77
80
- name : All features
78
81
run : cargo test --all-features
79
82
97
100
- name : Checkout sources
98
101
uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
99
102
103
+ - name : Install Rust Toolchain
104
+ run : rustup update stable
105
+
100
106
- name : Examples
101
107
run : cargo test --manifest-path examples/Cargo.toml
102
108
@@ -112,6 +118,9 @@ jobs:
112
118
with :
113
119
node-version : ' 20'
114
120
121
+ - name : Install Rust Toolchain
122
+ run : rustup update stable
123
+
115
124
- name : Install
116
125
run : curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
117
126
@@ -137,17 +146,20 @@ jobs:
137
146
- name : Add Wasmtime to path
138
147
run : echo "$HOME/.wasmtime/bin" >> $GITHUB_PATH
139
148
140
- - name : Install wasm32-wasi target
141
- run : rustup target add wasm32-wasi
149
+ - name : Install Rust Toolchain
150
+ run : rustup update nightly && rustup default nightly
151
+
152
+ - name : Install wasm32-wasip1 target
153
+ run : rustup target add wasm32-wasip1
142
154
143
155
- name : Default features
144
- run : cargo test --target wasm32-wasi
156
+ run : cargo test --target wasm32-wasip1
145
157
146
158
- name : Version features
147
- run : cargo test --target wasm32-wasi --features "$VERSION_FEATURES $DEP_FEATURES"
159
+ run : cargo test --target wasm32-wasip1 --features "$VERSION_FEATURES $DEP_FEATURES"
148
160
149
161
- name : Fast RNG
150
- run : cargo test --target wasm32-wasi --features "v4 fast-rng"
162
+ run : cargo test --target wasm32-wasip1 --features "v4 fast-rng"
151
163
152
164
miri :
153
165
name : Tests / Miri
@@ -156,6 +168,9 @@ jobs:
156
168
- name : Checkout sources
157
169
uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
158
170
171
+ - name : Install Rust Toolchain
172
+ run : rustup update nightly
173
+
159
174
- name : Install Miri
160
175
run : |
161
176
rustup toolchain install nightly --component miri
@@ -174,6 +189,9 @@ jobs:
174
189
- name : Checkout sources
175
190
uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
176
191
192
+ - name : Install Rust Toolchain
193
+ run : rustup update beta
194
+
177
195
- name : Install Clippy
178
196
run : |
179
197
rustup update beta
0 commit comments