@@ -283,19 +283,18 @@ jobs:
283283 with :
284284 submodules : recursive
285285
286- - name : Install nightly toolchain with check available
287- uses : actions-rust-lang/setup-rust-toolchain@v1
288- with :
289- toolchain : nightly
290- target : wasm32-unknown-unknown
286+ - name : Install nightly toolchain
287+ run : |
288+ rustup install nightly
289+ rustup +nightly target add wasm32-unknown-unknown
291290
292291 - name : Run no-std build concordium-std
293292 working-directory : concordium-std
294- run : cargo build --target wasm32-unknown-unknown --no-default-features --features bump_alloc
293+ run : cargo +nightly build --target wasm32-unknown-unknown --no-default-features --features bump_alloc
295294
296295 - name : Run no-std build concordium-cis2
297296 working-directory : concordium-cis2
298- run : cargo build --target wasm32-unknown-unknown --no-default-features --features concordium-std/bump_alloc
297+ run : cargo +nightly build --target wasm32-unknown-unknown --no-default-features --features concordium-std/bump_alloc
299298
300299 check-no-std-examples :
301300 name : Build on nightly,
@@ -328,17 +327,14 @@ jobs:
328327 with :
329328 submodules : recursive
330329
331- - name : Install nightly toolchain with check available
332- uses : actions-rust-lang/setup-rust-toolchain@v1
333- with :
334- toolchain : nightly
335- target : ${{ matrix.target }}
330+ - name : Install nightly toolchain
331+ run : |
332+ rustup install nightly
333+ rustup +nightly target add wasm32-unknown-unknown
336334
337335 - name : Run cargo check with no-std
338- uses : actions-rs/cargo@v1
339- with :
340- command : build
341- args : --manifest-path ${{ matrix.crates }} --target=${{ matrix.target }} --no-default-features --features=${{ matrix.features }} --features bump_alloc
336+ run : |
337+ cargo +nightly build --manifest-path ${{ matrix.crates }} --target=${{ matrix.target }} --no-default-features --features=${{ matrix.features }} --features bump_alloc
342338
343339 check-crypto-examples :
344340 name : Check crypto examples
0 commit comments