From 0b4f0d8951353f8aa40a7cafe80dabe8ff083f91 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Tue, 15 Aug 2023 13:37:39 -0600 Subject: [PATCH] ssh-key: re-enable minimal-versions check in CI (#154) Also bumps `sec1` to v0.7.3 to be `minimal-versions` correct --- .github/workflows/ssh-key.yml | 14 +++++++++----- ssh-key/Cargo.toml | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ssh-key.yml b/.github/workflows/ssh-key.yml index aeac708..bce6cd5 100644 --- a/.github/workflows/ssh-key.yml +++ b/.github/workflows/ssh-key.yml @@ -48,11 +48,15 @@ jobs: - run: ${{ matrix.deps }} - run: cargo build --target ${{ matrix.target }} --release --all-features -# TODO(tarcieri): re-enable when `ed25519-dalek` v2.0 is released -# minimal-versions: -# uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master -# with: -# working-directory: ${{ github.workflow }} + minimal-versions: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: dtolnay/rust-toolchain@nightly + - run: cargo +nightly update -Z minimal-versions + - uses: dtolnay/rust-toolchain@1.65.0 + - run: rm ../Cargo.toml + - run: cargo test --all-features --release no_std: runs-on: ubuntu-latest diff --git a/ssh-key/Cargo.toml b/ssh-key/Cargo.toml index 7d3d435..ca551de 100644 --- a/ssh-key/Cargo.toml +++ b/ssh-key/Cargo.toml @@ -33,7 +33,7 @@ p256 = { version = "0.13", optional = true, default-features = false, features = p384 = { version = "0.13", optional = true, default-features = false, features = ["ecdsa"] } rand_core = { version = "0.6.4", optional = true, default-features = false } rsa = { version = "0.9", optional = true, default-features = false, features = ["sha2"] } -sec1 = { version = "0.7", optional = true, default-features = false, features = ["point"] } +sec1 = { version = "0.7.3", optional = true, default-features = false, features = ["point"] } serde = { version = "1", optional = true } sha1 = { version = "0.10", optional = true, default-features = false }