From 5864db4d6a04b75ea68088f6c134e1ca97b2cf4c Mon Sep 17 00:00:00 2001 From: Justin W Smith <103147162+justsmth@users.noreply.github.com> Date: Mon, 20 Nov 2023 09:21:31 -0500 Subject: [PATCH] CI for minimal-versions --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ aws-lc-rs/Cargo.toml | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cfcb0799eb5..a1334ad55b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 + diff --git a/aws-lc-rs/Cargo.toml b/aws-lc-rs/Cargo.toml index 51be6ec2ddb..1d1cc61927c 100644 --- a/aws-lc-rs/Cargo.toml +++ b/aws-lc-rs/Cargo.toml @@ -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]