pg-proto 0.2.1

Session-typed PostgreSQL wire protocol
Documentation
name: PostgreSQL compatibility

on:
  pull_request:
  push:
    branches: [main]
  workflow_dispatch:

jobs:
  postgres:
    name: PostgreSQL ${{ matrix.version }}
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        # Required pg-proto and next-Proxy compatibility contract.
        version: [14, 15, 16, 17, 18]
    env:
      PG_PROTO_POSTGRES_VERSION: ${{ matrix.version }}
    steps:
      - uses: actions/checkout@v4
      - uses: dtolnay/rust-toolchain@1.97.1
      - uses: Swatinem/rust-cache@v2
      - run: cargo test --test postgres_container -- --ignored