Support Postgres 17 #17
This file contains 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: 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 |