CI: pin nightly; test minimal-versions on stable (#378)
- Pins to nightly-2023-10-01 to prevent regressions - On `minimal-versions`, only uses nightly to resolve versions, and runs tests on stable instead
This commit is contained in:
parent
49b6c7e6ba
commit
ec1cebf449
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -63,10 +63,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: RustCrypto/actions/cargo-cache@master
|
- uses: RustCrypto/actions/cargo-cache@master
|
||||||
- uses: dtolnay/rust-toolchain@master
|
- uses: dtolnay/rust-toolchain@nightly
|
||||||
with:
|
|
||||||
toolchain: nightly
|
|
||||||
- run: cargo update -Z minimal-versions
|
- run: cargo update -Z minimal-versions
|
||||||
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
- run: cargo test --release --features getrandom,serde,pkcs5
|
- run: cargo test --release --features getrandom,serde,pkcs5
|
||||||
|
|
||||||
nightly:
|
nightly:
|
||||||
@ -76,6 +75,6 @@ jobs:
|
|||||||
- uses: RustCrypto/actions/cargo-cache@master
|
- uses: RustCrypto/actions/cargo-cache@master
|
||||||
- uses: dtolnay/rust-toolchain@master
|
- uses: dtolnay/rust-toolchain@master
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
toolchain: nightly-2023-10-01
|
||||||
- run: cargo test --release --features nightly
|
- run: cargo test --release --features nightly
|
||||||
- run: cargo build --benches
|
- run: cargo build --benches
|
||||||
|
Loading…
x
Reference in New Issue
Block a user