Skip to content

Commit 438f016

Browse files
committed
Specify 'toolchain: stable' for Rust installation on CI
1 parent 5029cd3 commit 438f016

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
- name: Install rust
2323
uses: actions-rs/toolchain@v1
2424
with:
25-
components: rustfmt, clippy
25+
toolchain: stable
26+
components: rustfmt, clippy
2627

2728
# restore cargo cache from previous runs
2829
- name: Rust Cache
@@ -66,7 +67,8 @@ jobs:
6667
- name: Install rust
6768
uses: actions-rs/toolchain@v1
6869
with:
69-
components: rustfmt, clippy
70+
toolchain: stable
71+
profile: minimal
7072

7173
# restore cargo cache from previous runs
7274
- name: Rust Cache

0 commit comments

Comments
 (0)