Pin quote and proc-macro2 in CI to meet MSRV
[ldk-c-bindings] / .github / workflows / build.yml
index 1d1b9b57583e29b5126aadf03285e0607004be2b..25b7a603a5de04a1b2928df4a7e447489f8d6e65 100644 (file)
@@ -40,6 +40,11 @@ jobs:
           git checkout 0.0.115-bindings
       - name: Fix Github Actions to not be broken
         run: git config --global --add safe.directory /__w/ldk-c-bindings/ldk-c-bindings
+      - name: Pin proc-macro and quote to meet MSRV
+        run: |
+          cd c-bindings-gen
+          cargo update -p quote --precise "1.0.30" --verbose
+          cargo update -p proc-macro2 --precise "1.0.65" --verbose
       - name: Rebuild bindings without std, and check the sample app builds + links
         run: ./genbindings.sh ./rust-lightning false
       - name: Rebuild bindings, and check the sample app builds + links