Skip to content

Commit 0d0b584

Browse files
committed
Fix default Rust toolchain on CI
1 parent 3202657 commit 0d0b584

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
@@ -61,10 +61,10 @@ jobs:
6161
- uses: actions/checkout@v3
6262
- uses: dtolnay/rust-toolchain@v1
6363
with:
64-
toolchain: stable
64+
toolchain: nightly
6565
- uses: dtolnay/rust-toolchain@v1
6666
with:
67-
toolchain: nightly
67+
toolchain: stable
6868

6969
- run: cargo +nightly update -Z minimal-versions
7070

@@ -108,11 +108,10 @@ jobs:
108108
- uses: actions/checkout@v3
109109
- uses: dtolnay/rust-toolchain@v1
110110
with:
111-
toolchain: ${{ matrix.msrv }}
112-
- run: rustup default ${{ matrix.msrv }}
111+
toolchain: nightly
113112
- uses: dtolnay/rust-toolchain@v1
114113
with:
115-
toolchain: nightly
114+
toolchain: ${{ matrix.msrv }}
116115

117116
- run: cargo +nightly update -Z minimal-versions
118117

@@ -131,7 +130,6 @@ jobs:
131130
with:
132131
toolchain: ${{ matrix.toolchain }}
133132
components: rust-src
134-
- run: rustup default ${{ matrix.toolchain }}
135133

136134
- run: cargo install cargo-careful
137135
if: ${{ matrix.toolchain == 'nightly' }}

0 commit comments

Comments
 (0)