Skip to content

Commit 2268c9d

Browse files
committed
Pin quote and proc-macro2 as required to get CI passing MSRV
1 parent 8e88623 commit 2268c9d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ jobs:
2929
uses: actions/checkout@v2
3030
with:
3131
fetch-depth: 0
32+
- name: Pin syn and quote to meet MSRV
33+
working-directory: lightning-c-bindings
34+
run: |
35+
cargo update -p syn --precise "2.0.106" --verbose
36+
cargo update -p quote --precise "1.0.41" --verbose
3237
- name: Sanity test bindings against Cargo.toml RL
3338
working-directory: lightning-c-bindings
3439
run: |
@@ -47,6 +52,8 @@ jobs:
4752
git clone https://github.com/rust-bitcoin/rust-lightning
4853
cd rust-lightning
4954
git checkout 0.2-bindings
55+
cargo update -p syn --precise "2.0.106" --verbose
56+
cargo update -p quote --precise "1.0.41" --verbose
5057
- name: Fix Github Actions to not be broken
5158
run: git config --global --add safe.directory /__w/ldk-c-bindings/ldk-c-bindings
5259
- name: Pin proc-macro and quote to meet MSRV
@@ -89,6 +96,11 @@ jobs:
8996
uses: actions/checkout@v2
9097
with:
9198
fetch-depth: 0
99+
- name: Pin syn and quote to meet MSRV
100+
working-directory: lightning-c-bindings
101+
run: |
102+
cargo update -p syn --precise "2.0.106" --verbose
103+
cargo update -p quote --precise "1.0.41" --verbose
92104
- name: Sanity test bindings against Cargo.toml RL
93105
working-directory: lightning-c-bindings
94106
run: |
@@ -107,6 +119,8 @@ jobs:
107119
git clone https://github.com/rust-bitcoin/rust-lightning
108120
cd rust-lightning
109121
git checkout 0.2-bindings
122+
cargo update -p syn --precise "2.0.106" --verbose
123+
cargo update -p quote --precise "1.0.41" --verbose
110124
- name: Fix Github Actions to not be broken
111125
run: git config --global --add safe.directory /__w/ldk-c-bindings/ldk-c-bindings
112126
- name: Fetch MacOS SDK

0 commit comments

Comments
 (0)