feat: add a pg12 and pg18 to test build #38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test Build | |
| on: | |
| push: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| container: pgxn/pgxn-tools | |
| strategy: | |
| matrix: | |
| pg: [13, 14, 15, 16, 17, 18] | |
| name: 🐘 Postgres ${{ matrix.pg }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Start PostgreSQL ${{ matrix.pg }} | |
| run: pg-start ${{ matrix.pg }} | |
| - name: Setup Rust Cache | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Setup Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Test on PostgreSQL ${{ matrix.pg }} | |
| run: pgrx-build-test |