Skip to content

Commit

Permalink
Merge pull request lightningdevkit#3216 from tnull/2024-08-pin-tokio-…
Browse files Browse the repository at this point in the history
…in-ci

Pin `tokio` in CI to fix MSRV
  • Loading branch information
dunxen authored Aug 2, 2024
2 parents 50d21b7 + 3566b98 commit 8c1b3d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/ci-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ HOST_PLATFORM="$(rustc --version --verbose | grep "host:" | awk '{ print $2 }')"
# which we do here.
# Further crates which appear only as dev-dependencies are pinned further down.
function PIN_RELEASE_DEPS {
# Starting with version 1.39.0, the `tokio` crate has an MSRV of rustc 1.70.0
[ "$RUSTC_MINOR_VERSION" -lt 70 ] && cargo update -p tokio --precise "1.38.1" --verbose

return 0 # Don't fail the script if our rustc is higher than the last check
}

Expand Down

0 comments on commit 8c1b3d1

Please sign in to comment.