Skip to content

Support Postgres 17 #17

Support Postgres 17

Support Postgres 17 #17

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-22.04
strategy:
matrix:
PG_VERSION: [14, 15, 16, 17]
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 }}-pgrx
- name: Init
run: make init
- name: Lint
run: make lint
- name: Test
run: make test