Skip to content

Commit 3af95c4

Browse files
committed
Copy pins from upstream CI tests
Various dependencies have had their MSRV bumped since 0.1 was released. Here we copy the MSRV-compliant pins from upstream so that CI passes for 0.1 again.
1 parent bb4b1ba commit 3af95c4

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

ci/ci-tests.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@ PIN_RELEASE_DEPS # pin the release dependencies in our main workspace
2727
# proptest 1.3.0 requires rustc 1.64.0
2828
[ "$RUSTC_MINOR_VERSION" -lt 64 ] && cargo update -p proptest --precise "1.2.0" --verbose
2929

30+
# parking_lot 0.12.4 requires rustc 1.64.0
31+
[ "$RUSTC_MINOR_VERSION" -lt 64 ] && cargo update -p parking_lot --precise "0.12.3" --verbose
32+
33+
# parking_lot_core 0.9.11 requires rustc 1.64.0
34+
[ "$RUSTC_MINOR_VERSION" -lt 64 ] && cargo update -p parking_lot_core --precise "0.9.10" --verbose
35+
36+
# lock_api 0.4.13 requires rustc 1.64.0
37+
[ "$RUSTC_MINOR_VERSION" -lt 64 ] && cargo update -p lock_api --precise "0.4.12" --verbose
38+
3039
export RUST_BACKTRACE=1
3140

3241
echo -e "\n\nChecking the workspace, except lightning-transaction-sync."

ci/ci-tx-sync-tests.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ PIN_RELEASE_DEPS # pin the release dependencies
1717
# Starting with version 0.5.11, the `home` crate has an MSRV of rustc 1.81.0.
1818
[ "$RUSTC_MINOR_VERSION" -lt 81 ] && cargo update -p home --precise "0.5.9" --verbose
1919

20+
# Starting with version 1.2.0, the `idna_adapter` crate has an MSRV of rustc 1.81.0.
21+
[ "$RUSTC_MINOR_VERSION" -lt 81 ] && cargo update -p idna_adapter --precise "1.1.0" --verbose
22+
2023
export RUST_BACKTRACE=1
2124

2225
echo -e "\n\nChecking Transaction Sync Clients with features."

0 commit comments

Comments
 (0)