From ec1cebf44995d21356a94dd30fbd8e73faaf4e92 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Thu, 26 Oct 2023 10:04:58 -0600 Subject: [PATCH] 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 --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2cd37f78..d14d1614 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,10 +63,9 @@ jobs: steps: - uses: actions/checkout@v4 - uses: RustCrypto/actions/cargo-cache@master - - uses: dtolnay/rust-toolchain@master - with: - toolchain: nightly + - uses: dtolnay/rust-toolchain@nightly - run: cargo update -Z minimal-versions + - uses: dtolnay/rust-toolchain@stable - run: cargo test --release --features getrandom,serde,pkcs5 nightly: @@ -76,6 +75,6 @@ jobs: - uses: RustCrypto/actions/cargo-cache@master - uses: dtolnay/rust-toolchain@master with: - toolchain: nightly + toolchain: nightly-2023-10-01 - run: cargo test --release --features nightly - run: cargo build --benches