Skip to content

Commit a7f810b

Browse files
authored
Use Rust toolchains with working components. (#16)
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
1 parent 3ebf309 commit a7f810b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Update Rust
3636
run: |
37-
rustup update
37+
rustup toolchain install stable --component clippy --component rustfmt
3838
rustup target add wasm32-unknown-unknown
3939
4040
- name: Build
@@ -73,8 +73,8 @@ jobs:
7373

7474
- name: Update Rust
7575
run: |
76-
rustup toolchain install nightly
77-
rustup target add --toolchain nightly wasm32-unknown-unknown
76+
rustup toolchain install nightly --component clippy --component rustfmt
77+
rustup +nightly target add wasm32-unknown-unknown
7878
7979
- name: Build
8080
env:

0 commit comments

Comments
 (0)