Skip to content

Commit 27f478d

Browse files
committed
Pin quote and proc-macro2 as required to get CI passing MSRV
1 parent a4eb1a8 commit 27f478d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/build.yml

Lines changed: 19 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.1-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,8 +119,15 @@ jobs:
107119
git clone https://github.com/rust-bitcoin/rust-lightning
108120
cd rust-lightning
109121
git checkout 0.1-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
126+
- name: Pin proc-macro and quote to meet MSRV
127+
run: |
128+
cd c-bindings-gen
129+
cargo update -p quote --precise "1.0.30" --verbose
130+
cargo update -p proc-macro2 --precise "1.0.65" --verbose
112131
- name: Fetch MacOS SDK
113132
run: |
114133
wget https://bitcoincore.org/depends-sources/sdks/Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers.tar.gz

0 commit comments

Comments
 (0)