Switch to Rust edition 2021
[rapid-gossip-sync-server] / .github / workflows / build.yml
index 4ebe48ca011f4948d4ee3dd28c9d79a10b0f948a..aca2d244fcde56b7ea9bb0392619c90a1e5929d8 100644 (file)
@@ -14,12 +14,8 @@ jobs:
       matrix:
         toolchain:
           - stable
-          - 1.48.0
+          - 1.56.0
           - beta
-        pinning: [true, false]
-        exclude:
-          - toolchain: 1.48.0
-            pinning: false
     runs-on: ubuntu-latest
     steps:
       - name: Checkout source code
@@ -30,13 +26,6 @@ jobs:
           toolchain: ${{ matrix.toolchain }}
           override: true
           profile: minimal
-      - name: Pin dependencies
-        if: ${{ matrix.pinning }}
-        run: |
-          cargo update -p tokio-postgres --precise "0.7.5" --verbose
-          cargo update -p postgres-types --precise "0.2.3" --verbose
-          cargo update -p tokio --precise "1.14.1" --verbose
-          cargo update -p once_cell --precise "1.14.0" --verbose
       - name: Build on Rust ${{ matrix.toolchain }}
         run: |
           cargo build --verbose --color always