]> git.bitcoin.ninja Git - ldk-java/commitdiff
Pin quote and proc-macro2 in bindings builds in CI to meet MSRV
authorMatt Corallo <git@bluematt.me>
Mon, 31 Jul 2023 16:38:15 +0000 (16:38 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 31 Jul 2023 18:50:31 +0000 (18:50 +0000)
.github/workflows/build.yml

index 48af63245b038c0c39cb7469afeeb85afba5e052..e8a0ea1fe083fe82333e8195eb12edc89e61c34d 100644 (file)
@@ -139,6 +139,11 @@ jobs:
           git clone https://github.com/lightningdevkit/ldk-c-bindings
           cd ldk-c-bindings
           git checkout 0.0.116
+      - name: Pin proc-macro and quote to meet MSRV
+        run: |
+          cd ldk-c-bindings/c-bindings-gen
+          cargo update -p quote --precise "1.0.30" --verbose
+          cargo update -p proc-macro2 --precise "1.0.65" --verbose
       - name: Rebuild C bindings, and check the sample app builds + links
         run: |
           cd ldk-c-bindings
@@ -195,6 +200,11 @@ jobs:
           git clone https://github.com/lightningdevkit/ldk-c-bindings
           cd ldk-c-bindings
           git checkout 0.0.116
+      - name: Pin proc-macro and quote to meet MSRV
+        run: |
+          cd ldk-c-bindings/c-bindings-gen
+          cargo update -p quote --precise "1.0.30" --verbose
+          cargo update -p proc-macro2 --precise "1.0.65" --verbose
       - name: Rebuild C bindings, and check the sample app builds + links
         run: |
           cd ldk-c-bindings