Skip to content

Commit

Permalink
Test min versions (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Aug 7, 2023
1 parent a2776aa commit 93575fa
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 46 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ring-compat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,22 @@ jobs:
- run: cargo test --release
- run: cargo test --release --all-features

minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- uses: RustCrypto/actions/cargo-hack-install@master
- name: Test benches build
run: cargo build --benches
- run: rm Cargo.lock
- run: cargo update -Z minimal-versions
- run: cargo hack test --release --feature-powerset

rustfmt:
runs-on: ubuntu-latest
steps:
Expand Down
90 changes: 45 additions & 45 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ rust-version = "1.65"

[dependencies]
generic-array = { version = "0.14", default-features = false }
ring = { version = "0.16", default-features = false }
ring = { version = "0.16.20", default-features = false }

# optional dependencies
aead = { version = "0.5", optional = true, default-features = false }
Expand Down

0 comments on commit 93575fa

Please sign in to comment.