Skip to content

Commit

Permalink
[WIP] elliptic-curve: re-enable CI minimal-versions check
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tarcieri committed Oct 2, 2023
1 parent 1f9f72f commit 499fd58
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/elliptic-curve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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,jwk,pem,std,voprf # TODO(tarcieri): test all features

test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 499fd58

Please sign in to comment.