Skip to content

Commit 3399dcf

Browse files
committed
Fix CI: install rust nightly for job msrv
Signed-off-by: Jiahao XU <[email protected]>
1 parent ea73b68 commit 3399dcf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@master
1717
- name: Install Rust (rustup)
1818
run: |
19-
rustup update ${{ matrix.rust }} --no-self-update
19+
rustup toolchain install ${{ matrix.rust }} --no-self-update --profile minimal
2020
rustup default ${{ matrix.rust }}
2121
shell: bash
2222

@@ -93,8 +93,9 @@ jobs:
9393
- uses: actions/checkout@master
9494
- name: Install Rust (rustup)
9595
run: |
96-
rustup update $MSRV --no-self-update
96+
rustup toolchain install $MSRV --no-self-update --profile minimal
9797
rustup default $MSRV
98+
rustup toolchain install nightly --no-self-update --profile minimal
9899
shell: bash
99100

100101
- run: cargo +nightly update -Zminimal

0 commit comments

Comments
 (0)