From a7f810b3796207d01548f619ef31c0924b2ab5ce Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Fri, 31 Jul 2020 20:49:45 -0700 Subject: [PATCH] Use Rust toolchains with working components. (#16) Signed-off-by: Piotr Sikora --- .github/workflows/rust.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2ac3e067..d399a122 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -34,7 +34,7 @@ jobs: - name: Update Rust run: | - rustup update + rustup toolchain install stable --component clippy --component rustfmt rustup target add wasm32-unknown-unknown - name: Build @@ -73,8 +73,8 @@ jobs: - name: Update Rust run: | - rustup toolchain install nightly - rustup target add --toolchain nightly wasm32-unknown-unknown + rustup toolchain install nightly --component clippy --component rustfmt + rustup +nightly target add wasm32-unknown-unknown - name: Build env: