Workaround GH Actions issue for 1.45
[rust-lightning] / .github / workflows / build.yml
index cfb1b9c847420dc0cb4ee0edb9188033a738e26f..be52e05776cec547342fdae0eedf4777eb41bfd2 100644 (file)
@@ -62,6 +62,8 @@ jobs:
       - name: Pin tokio to 1.14 for Rust 1.45
         if: "matrix.build-net-old-tokio"
         run: cargo update -p tokio --precise "1.14.0" --verbose
+        env:
+          CARGO_NET_GIT_FETCH_WITH_CLI: "true"
       - name: Build on Rust ${{ matrix.toolchain }} with net-tokio
         if: "matrix.build-net-tokio && !matrix.coverage"
         run: cargo build --verbose --color always