Skip to content

Commit

Permalink
CI for minimal-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Nov 21, 2023
1 parent a26674a commit 5864db4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
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

0 comments on commit 5864db4

Please sign in to comment.