From a10d3f8440ebe7771feec53b25e392ef78c5f701 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Kijewski?= Date: Thu, 14 Sep 2023 18:29:07 +0200 Subject: [PATCH] Allow older dependencies --- .github/workflows/ci.yml | 10 +++++++++- Cargo.toml | 14 +++++++------- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d40762..f3ce1e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,6 +67,9 @@ jobs: - ubuntu-22.04 - windows-2022 - macos-12 + versions: + - "" + - "-Zminimal-versions" runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 @@ -74,10 +77,15 @@ jobs: - name: Setup Rust uses: ./.github/actions/setup-rust with: - key: test + key: test${{ matrix.versions }} toolchain: ${{ matrix.toolchain }} components: clippy + - name: Update lockfile + run: cargo generate-lockfile ${{ matrix.versions }} + env: + RUSTC_BOOTSTRAP: 1 + - run: cargo test --workspace --all-targets package: diff --git a/Cargo.toml b/Cargo.toml index f77d817..5267093 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,13 +12,13 @@ members = [".", "api"] default-members = [".", "api"] [workspace.dependencies] -base64 = "0.21.4" -clap = { version = "4.4.2", features = ["derive"] } -ed25519-dalek = { version = "2.0.0", features = ["digest"] } -pretty-error-debug = "0.3.0" -rand_core = { version = "0.6.4", features = ["getrandom"] } -thiserror = "1.0.48" -zip = { version = "0.6.6", default-features = false } +base64 = "0.21" +clap = { version = "4", features = ["derive"] } +ed25519-dalek = { version = "2", features = ["digest"] } +pretty-error-debug = "0.3" +rand_core = { version = "0.6", features = ["getrandom"] } +thiserror = "1" +zip = { version = "0.6", default-features = false } [workspace.dependencies.zipsign-api] version = "0.1.0-a.0"