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:
Tony Arcieri 2023-10-26 10:04:58 -06:00 committed by GitHub
parent 49b6c7e6ba
commit ec1cebf449
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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