Skip to content

Commit

Permalink
CI: pin nightly; test minimal-versions on stable (#378)
Browse files Browse the repository at this point in the history
- Pins to nightly-2023-10-01 to prevent regressions
- On `minimal-versions`, only uses nightly to resolve versions, and runs
  tests on stable instead
  • Loading branch information
tarcieri authored Oct 26, 2023
1 parent 49b6c7e commit ec1cebf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit ec1cebf

Please sign in to comment.