Fix Rust toolchain defaulting on CI
This commit is contained in:
parent
4737622052
commit
f6aae142ea
1 changed files with 4 additions and 9 deletions
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
@ -107,7 +107,6 @@ jobs:
|
|||
- uses: dtolnay/rust-toolchain@v1
|
||||
with:
|
||||
toolchain: ${{ matrix.toolchain }}
|
||||
- run: rustup default ${{ matrix.toolchain }}
|
||||
|
||||
- run: cargo check -p example_${{ matrix.example }}
|
||||
|
||||
|
@ -139,10 +138,10 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: dtolnay/rust-toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
toolchain: nightly
|
||||
- uses: dtolnay/rust-toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
toolchain: stable
|
||||
|
||||
- run: cargo +nightly update -Z minimal-versions
|
||||
|
||||
|
@ -178,11 +177,10 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: dtolnay/rust-toolchain@v1
|
||||
with:
|
||||
toolchain: ${{ matrix.msrv }}
|
||||
- run: rustup default ${{ matrix.msrv }}
|
||||
toolchain: nightly
|
||||
- uses: dtolnay/rust-toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
toolchain: ${{ matrix.msrv }}
|
||||
|
||||
- run: cargo +nightly update -Z minimal-versions
|
||||
|
||||
|
@ -246,7 +244,6 @@ jobs:
|
|||
with:
|
||||
toolchain: ${{ matrix.toolchain }}
|
||||
components: rust-src
|
||||
- run: rustup default ${{ matrix.toolchain }}
|
||||
|
||||
- run: cargo install cargo-careful
|
||||
if: ${{ matrix.toolchain == 'nightly' }}
|
||||
|
@ -274,7 +271,6 @@ jobs:
|
|||
- uses: dtolnay/rust-toolchain@v1
|
||||
with:
|
||||
toolchain: ${{ matrix.toolchain }}
|
||||
- run: rustup default ${{ matrix.toolchain }}
|
||||
- uses: peaceiris/actions-mdbook@v1
|
||||
|
||||
- run: make test.book
|
||||
|
@ -297,7 +293,6 @@ jobs:
|
|||
with:
|
||||
toolchain: ${{ matrix.toolchain }}
|
||||
target: wasm32-unknown-unknown
|
||||
- run: rustup default ${{ matrix.toolchain }}
|
||||
|
||||
- run: cargo check --target wasm32-unknown-unknown -p ${{ matrix.crate }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue