Skip to content

Commit

Permalink
ssh-key: re-enable minimal-versions check in CI (#154)
Browse files Browse the repository at this point in the history
Also bumps `sec1` to v0.7.3 to be `minimal-versions` correct
  • Loading branch information
tarcieri authored Aug 15, 2023
1 parent 48190e3 commit 0b4f0d8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ssh-key.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
- run: rm ../Cargo.toml
- run: cargo test --all-features --release

no_std:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion ssh-key/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

Expand Down

0 comments on commit 0b4f0d8

Please sign in to comment.