Skip to content

Commit

Permalink
Merge pull request #4 from brianpursley/pg17
Browse files Browse the repository at this point in the history
Support Postgres 17
  • Loading branch information
brianpursley authored Oct 31, 2024
2 parents a85cbd6 + c1cc49d commit 6ff3b71
Show file tree
Hide file tree
Showing 8 changed files with 305 additions and 274 deletions.
38 changes: 31 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,37 @@ on:
jobs:
test:
name: Test
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
strategy:
matrix:
PG_VERSION: [pg14, pg15, pg16, pg17]
env:
PG_VERSION: ${{ matrix.PG_VERSION }}
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Checkout
uses: actions/checkout@v4

- name: Setup Rust Toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.77.2
toolchain: 1.82.0
components: clippy, rustfmt
- run: make init
- run: make lint
- run: make test

- 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
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# pg_smtp_client

## Install dependencies (needed for testing postgres 17)
```shell
sudo apt-get install bison flex
```

## Setup

```shell
Expand Down
Loading

0 comments on commit 6ff3b71

Please sign in to comment.