Skip to content

Commit c1d2857

Browse files
committed
Pin memchr to meet MSRVs during builds
1 parent 45fffce commit c1d2857

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
git clone https://github.com/lightningdevkit/ldk-c-bindings
4646
cd ldk-c-bindings
4747
git checkout 0.0.117
48+
cd lightning-c-bindings
49+
cargo update -p memchr --precise "2.5.0" --verbose
4850
- name: Rebuild C bindings without STD
4951
run: |
5052
cd ldk-c-bindings
@@ -139,6 +141,8 @@ jobs:
139141
git clone https://github.com/lightningdevkit/ldk-c-bindings
140142
cd ldk-c-bindings
141143
git checkout 0.0.117
144+
cd lightning-c-bindings
145+
cargo update -p memchr --precise "2.5.0" --verbose
142146
- name: Pin proc-macro and quote to meet MSRV
143147
run: |
144148
cd ldk-c-bindings/c-bindings-gen
@@ -200,6 +204,8 @@ jobs:
200204
git clone https://github.com/lightningdevkit/ldk-c-bindings
201205
cd ldk-c-bindings
202206
git checkout 0.0.117
207+
cd lightning-c-bindings
208+
cargo update -p memchr --precise "2.5.0" --verbose
203209
- name: Pin proc-macro and quote to meet MSRV
204210
run: |
205211
cd ldk-c-bindings/c-bindings-gen
@@ -452,6 +458,8 @@ jobs:
452458
git clone https://github.com/lightningdevkit/ldk-c-bindings
453459
cd ldk-c-bindings
454460
git checkout 0.0.117
461+
cd lightning-c-bindings
462+
cargo update -p memchr --precise "2.5.0" --verbose
455463
- name: Checkout Android AAR binaries and artifacts
456464
run: |
457465
# Gitweb only allows snapshots of folders by providing the object hash, which we have to extract:
@@ -525,6 +533,8 @@ jobs:
525533
git clone https://github.com/lightningdevkit/ldk-c-bindings
526534
cd ldk-c-bindings
527535
git checkout 0.0.117
536+
cd lightning-c-bindings
537+
cargo update -p memchr --precise "2.5.0" --verbose
528538
- name: Rebuild C bindings and check the sample app builds + links
529539
run: |
530540
cd ldk-c-bindings

0 commit comments

Comments
 (0)