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