]> Untitled Git - bdk/commitdiff
ci: only build the libraries on MSRV
author志宇 <hello@evanlinjin.me>
Wed, 21 Oct 2026 03:30:26 +0000 (03:30 +0000)
committer志宇 <hello@evanlinjin.me>
Wed, 21 Oct 2026 04:12:32 +0000 (15:12 +1100)
The MSRV job also built every target and ran the tests on 1.85.0, so test-only
dependencies (e.g. `proptest`) had to be pinned in `pin-msrv.sh` too. The MSRV
promise only covers building the published libraries, so build those (`--lib`)
and leave tests to the jobs on `rust-version`. Drop the `proptest` pin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
.github/workflows/cont_integration.yml
README.md
ci/pin-msrv.sh

index 25cffe9e0afb875e127dfea0d93bbc009bdeb88f..e4e788f067016c4917bf59440200292695bc1385 100644 (file)
@@ -34,11 +34,9 @@ jobs:
       - name: Pin dependencies for MSRV
         run: ./ci/pin-msrv.sh
       - name: Build 1.85.0 (no default features)
-        run: cargo build --workspace --all-targets --no-default-features
+        run: cargo build --workspace --lib --no-default-features
       - name: Build 1.85.0 (all features)
-        run: cargo build --workspace --all-targets --all-features
-      - name: Test 1.85.0 (all features)
-        run: cargo test --workspace --lib --tests --all-features
+        run: cargo build --workspace --lib --all-features
 
   build-core:
     needs: prepare
index 5c5c5e0777dbc9373521b247559ff729a1847d9c..76a557581b5a4283b2ef635fae340a57ac15ad67 100644 (file)
--- a/README.md
+++ b/README.md
@@ -55,7 +55,7 @@ To report a security issue, please refer to the [security policy](SECURITY.md).
 
 ## Minimum Supported Rust Version (MSRV)
 
-The following BDK crates maintains a MSRV of 1.85.0. To build these crates with the MSRV of 1.85.0 you will need to pin dependencies by running the [`pin-msrv.sh`](./ci/pin-msrv.sh) script.
+The following BDK crates maintains a MSRV of 1.85.0. To build these crates with the MSRV of 1.85.0 you will need to pin dependencies by running the [`pin-msrv.sh`](./ci/pin-msrv.sh) script. The MSRV only covers building the libraries; tests and examples need the toolchain in [`rust-version`](./rust-version).
 
 - `bdk_core`
 - `bdk_chain`
@@ -63,6 +63,7 @@ The following BDK crates maintains a MSRV of 1.85.0. To build these crates with
 - `bdk_esplora`
 - `bdk_file_store`
 - `bdk_electrum`
+- `bdk_testenv`
 
 ## Just
 
index 1529c38052214ad8a4d795ad4801efa509565b2e..703558e4199d4a1632111754fd2d437c809aa889 100755 (executable)
@@ -15,4 +15,3 @@ cargo update -p icu_normalizer --precise "2.1.1"
 cargo update -p icu_provider --precise "2.1.1"
 cargo update -p icu_locale_core --precise "2.1.1"
 cargo update -p yoke-derive --precise "0.8.2"
-cargo update -p proptest --precise "1.11.0"