1 name: Cross-platform build verification
19 pinning: [true, false]
23 runs-on: ubuntu-latest
25 - name: Checkout source code
26 uses: actions/checkout@v3
27 - name: Install Rust ${{ matrix.toolchain }} toolchain
28 uses: actions-rs/toolchain@v1
30 toolchain: ${{ matrix.toolchain }}
33 - name: Pin dependencies
34 if: ${{ matrix.pinning }}
36 cargo update -p tokio-postgres --precise "0.7.5" --verbose
37 cargo update -p postgres-types --precise "0.2.3" --verbose
38 cargo update -p tokio --precise "1.14.1" --verbose
39 cargo update -p once_cell --precise "1.14.0" --verbose
40 - name: Build on Rust ${{ matrix.toolchain }}
42 cargo build --verbose --color always