From 2f9b7c5a0b4816c19f66086e16ffceac2d76d679 Mon Sep 17 00:00:00 2001 From: Daniela Brozzoni Date: Mon, 24 Jul 2023 12:44:48 +0200 Subject: [PATCH] Avoid pinning dependencies, use --precise in ci Fixes #1035 --- .github/workflows/cont_integration.yml | 3 +++ crates/bdk/Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cont_integration.yml b/.github/workflows/cont_integration.yml index e5771dd1c3..144d74deb3 100644 --- a/.github/workflows/cont_integration.yml +++ b/.github/workflows/cont_integration.yml @@ -27,6 +27,9 @@ jobs: profile: minimal - name: Rust Cache uses: Swatinem/rust-cache@v2.2.1 + - name: Pin dependencies + if: matrix.version == "1.57.0" + run: cargo update -p log --precise "0.4.18" && cargo update -p tempfile --precise "3.6.0" - name: Build run: cargo build ${{ matrix.features }} - name: Test diff --git a/crates/bdk/Cargo.toml b/crates/bdk/Cargo.toml index 29b478d135..6f40687a30 100644 --- a/crates/bdk/Cargo.toml +++ b/crates/bdk/Cargo.toml @@ -13,7 +13,7 @@ edition = "2021" rust-version = "1.57" [dependencies] -log = "=0.4.18" +log = "^0.4" rand = "^0.8" miniscript = { version = "9", features = ["serde"], default-features = false } bitcoin = { version = "0.29", features = ["serde", "base64", "rand"], default-features = false }