fixed rust install step

This commit is contained in:
Rolf Martin Glomsrud 2023-02-26 02:45:12 +01:00
parent a5adbb85ea
commit 078995be3a

View file

@ -8,9 +8,13 @@ jobs:
name: Build name: Build
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Install Rust - uses: actions/checkout@v2
run: | - name: Install latest nightly
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -y uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Add wasm with rustup - name: Add wasm with rustup
run: | run: |
rustup target add wasm32-unknown-unknown rustup target add wasm32-unknown-unknown