Skip to content

Support Postgres 17 #21

Support Postgres 17

Support Postgres 17 #21

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
paths-ignore:
- '*.md'
push:
branches:
- main
paths-ignore:
- '*.md'
release:
types:
- created
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
PG_VERSION: [pg14, pg15, pg16, pg17]
env:
PG_VERSION: ${{ matrix.PG_VERSION }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust Toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.82.0
components: clippy, rustfmt
- name: Cache Rust
uses: Swatinem/rust-cache@v2
- name: Cache pgrx
uses: actions/cache@v4
with:
path: |
~/.pgrx/
key: ${{ runner.os }}-${{ matrix.PG_VERSION }}-pgrx
- name: Init
run: make init
- name: Lint
run: make lint
- name: Test
run: make test