Pin quote and proc-macro2 in CI to meet MSRV
[ldk-c-bindings] / .github / workflows / build.yml
index 32d9b3c19052c03cb76de86634a1a6fda2ff2863..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
@@ -110,8 +115,9 @@ jobs:
     strategy:
       matrix:
         include:
-          - platform: macos-10.15
           - platform: macos-11
+          - platform: macos-12
+          - platform: macos-13
     runs-on: ${{ matrix.platform }}
     env:
       TOOLCHAIN: stable