Skip to content

Commit cfdf344

Browse files
committed
Try rustup
1 parent d2c96a2 commit cfdf344

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,12 @@ jobs:
1313
steps:
1414
- name: Checkout source
1515
uses: actions/checkout@v3
16+
- name: Install rustup
17+
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
1618
- name: Setup nightly rust
17-
uses: dtolnay/rust-toolchain@stable
18-
with:
19-
toolchain: nightly
19+
run: rustup toolchain install nightly
2020
- name: Setup stable rust
21-
uses: dtolnay/rust-toolchain@stable
22-
with:
23-
rust-version: ${{ matrix.rust }}
21+
run: rustup toolchain install ${{ matrix.rust }}
2422
- name: Run unit tests
2523
run: rustc --version && cargo --version && cargo test
2624
- name: Run script tests

0 commit comments

Comments
 (0)