fixed rust install step
This commit is contained in:
parent
a5adbb85ea
commit
078995be3a
1 changed files with 7 additions and 3 deletions
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue