From 16501aad44cb0057f3db082b3899d9cf025d29af Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Mon, 2 Oct 2023 09:07:46 -0600 Subject: [PATCH] [WIP] elliptic-curve: re-enable CI minimal-versions check Note: it appears the `hkdf` requirement is misspecified and needs to be bumped to v0.12.1. I'll do that once confirming the problem is now caught in CI. --- .github/workflows/elliptic-curve.yml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/workflows/elliptic-curve.yml b/.github/workflows/elliptic-curve.yml index f1179b20..f318c244 100644 --- a/.github/workflows/elliptic-curve.yml +++ b/.github/workflows/elliptic-curve.yml @@ -57,19 +57,17 @@ jobs: - run: cargo build --target ${{ matrix.target }} --release --no-default-features --features arithmetic,serde - run: cargo build --target ${{ matrix.target }} --release --no-default-features --features alloc,digest,ecdh,hazmat,hash2curve,jwk,pem,pkcs8,sec1,serde,voprf - # TODO: use the reusable workflow after this crate is re-added to the - # toplevel workspace - # minimal-versions: - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v4 - # - uses: RustCrypto/actions/cargo-cache@master - # - uses: dtolnay/rust-toolchain@master - # with: - # toolchain: nightly - # - uses: RustCrypto/actions/cargo-hack-install@master - # - run: cargo update -Z minimal-versions - # - run: cargo hack test --release --feature-powerset + minimal-versions: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: RustCrypto/actions/cargo-cache@master + - uses: dtolnay/rust-toolchain@master + with: + toolchain: nightly + - uses: RustCrypto/actions/cargo-hack-install@master + - run: cargo update -Z minimal-versions + - run: cargo build --release --features ecdh,hash2curve,pem,std,voprf # TODO(tarcieri): test all features test: runs-on: ubuntu-latest