Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI for minimal dependency versions #290

Merged
merged 1 commit into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -608,3 +608,24 @@ jobs:
- name: Verify msrv
working-directory: ./aws-lc-rs
run: cargo msrv verify

minimal-versions:
name: Resolve the dependencies to the minimum SemVer version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
lfs: true
- uses: actions-rs/toolchain@v1.0.7
id: toolchain
with:
toolchain: nightly
override: true
- name: Setup to use minimal versions
working-directory: ./aws-lc-rs
run: cargo update -Z minimal-versions
- name: Build with minimal versions
working-directory: ./aws-lc-rs
run: cargo --locked check

2 changes: 1 addition & 1 deletion aws-lc-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fips = ["dep:aws-lc-fips-sys"]
untrusted = { version = "0.7.1", optional = true }
aws-lc-sys = { version = "0.12.1", path = "../aws-lc-sys", optional = true }
aws-lc-fips-sys = { version = "0.11.2", path = "../aws-lc-fips-sys", optional = true }
zeroize = "1"
zeroize = "1.7"
mirai-annotations = "1.12.0"

[dev-dependencies]
Expand Down
Loading