Skip to content

Commit f38b80a

Browse files
committed
Only try to build lightning-transaction-sync if we meet its MSRV
This should fix CI
1 parent f6e0ad2 commit f38b80a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ci/ci-tests.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,12 @@ popd
7777
echo -e "\n\nTesting no-std build on a downstream no-std crate"
7878
# check no-std compatibility across dependencies
7979
pushd no-std-check
80-
cargo check --verbose --color always --features lightning-transaction-sync
80+
if [[ $RUSTC_MINOR_VERSION -gt 67 ]]; then
81+
# lightning-transaction-sync's MSRV is 1.67
82+
cargo check --verbose --color always --features lightning-transaction-sync
83+
else
84+
cargo check --verbose --color always
85+
fi
8186
popd
8287

8388
# Test that we can build downstream code with only the "release pins".

0 commit comments

Comments
 (0)