mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-01-19 05:43:55 +01:00
Pin tokio to 1.26 on windows to fix CI
This commit is contained in:
parent
23c1b461ea
commit
73306a3503
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -86,6 +86,11 @@ jobs:
|
|||||||
run: cargo update -p tokio --precise "1.14.0" --verbose
|
run: cargo update -p tokio --precise "1.14.0" --verbose
|
||||||
env:
|
env:
|
||||||
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
|
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
|
||||||
|
- name: Pin tokio to 1.26 for Windows
|
||||||
|
if: "matrix.platform == 'windows-latest'"
|
||||||
|
run: cargo update -p tokio --precise "1.26.0" --verbose
|
||||||
|
env:
|
||||||
|
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
|
||||||
- name: Build on Rust ${{ matrix.toolchain }} with net-tokio
|
- name: Build on Rust ${{ matrix.toolchain }} with net-tokio
|
||||||
if: "matrix.build-net-tokio && !matrix.coverage"
|
if: "matrix.build-net-tokio && !matrix.coverage"
|
||||||
run: cargo build --verbose --color always
|
run: cargo build --verbose --color always
|
||||||
|
@ -28,4 +28,4 @@ chunked_transfer = { version = "1.4", optional = true }
|
|||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
lightning = { version = "0.0.114", path = "../lightning", features = ["_test_utils"] }
|
lightning = { version = "0.0.114", path = "../lightning", features = ["_test_utils"] }
|
||||||
tokio = { version = "~1.14", features = [ "macros", "rt" ] }
|
tokio = { version = "1.14", features = [ "macros", "rt" ] }
|
||||||
|
@ -20,5 +20,5 @@ lightning = { version = "0.0.114", path = "../lightning" }
|
|||||||
tokio = { version = "1.0", features = [ "io-util", "macros", "rt", "sync", "net", "time" ] }
|
tokio = { version = "1.0", features = [ "io-util", "macros", "rt", "sync", "net", "time" ] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tokio = { version = "~1.14", features = [ "io-util", "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] }
|
tokio = { version = "1.14", features = [ "io-util", "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] }
|
||||||
lightning = { version = "0.0.114", path = "../lightning", features = ["_test_utils"] }
|
lightning = { version = "0.0.114", path = "../lightning", features = ["_test_utils"] }
|
||||||
|
Loading…
Reference in New Issue
Block a user