Skip to content

Commit 8a8e0f7

Browse files
committed
f Move pin to right place
1 parent 038b281 commit 8a8e0f7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ci/ci-tests.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ function PIN_RELEASE_DEPS {
1414
# Starting with version 0.7.12, the `tokio-util` crate has an MSRV of rustc 1.70.0
1515
[ "$RUSTC_MINOR_VERSION" -lt 70 ] && cargo update -p tokio-util --precise "0.7.11" --verbose
1616

17+
# url 2.5.3 switched to idna 1.0.3 and ICU4X, which requires rustc 1.67 or newer.
18+
# Here we opt to keep using unicode-rs by pinning idna_adapter as described here: https://docs.rs/crate/idna_adapter/1.2.0
19+
[ "$RUSTC_MINOR_VERSION" -lt 67 ] && cargo update -p idna_adapter --precise "1.1.0" --verbose
20+
1721
return 0 # Don't fail the script if our rustc is higher than the last check
1822
}
1923

@@ -73,10 +77,6 @@ cargo test -p lightning-block-sync --verbose --color always --features rpc-clien
7377
cargo check -p lightning-block-sync --verbose --color always --features rpc-client,rest-client,tokio
7478

7579
if [[ "$HOST_PLATFORM" != *windows* ]]; then
76-
# url 2.5.3 switched to idna 1.0.3 and ICU4X, which requires rustc 1.67 or newer.
77-
# Here we opt to keep using unicode-rs by pinning idna_adapter as described here: https://docs.rs/crate/idna_adapter/1.2.0
78-
[ "$RUSTC_MINOR_VERSION" -lt 67 ] && cargo update -p idna_adapter --precise "1.1.0" --verbose
79-
8080
echo -e "\n\nChecking Transaction Sync Clients with features."
8181
cargo check -p lightning-transaction-sync --verbose --color always --features esplora-blocking
8282
cargo check -p lightning-transaction-sync --verbose --color always --features esplora-async

0 commit comments

Comments
 (0)