Skip to content

Commit

Permalink
Install postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Apr 4, 2024
1 parent fe57088 commit 2875990
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
- name: Setup Cache
uses: Swatinem/rust-cache@v2
with: { cache-directories: /home/runner/.pgrx }
- name: Install Dependencies
run: apt-get install postgresql-server-dev-all
- name: Install Postgres
run: sudo ./.ci/apt-install-postgres 16
- name: Install pgrx
run: cargo install cargo-pgrx --locked --version "$(perl -ne 'print $1 if /^pgrx\s+=\s"=?([^"]+)/' Cargo.toml)"
- name: Initialize pgrx
# https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md#postgresql
run: cargo pgrx init --pg14="$(which pg_config)"
run: cargo pgrx init --pg16="$(which pg_config)"
- name: Cargo format
run: cargo fmt --all --check
- name: Clippy
Expand Down

0 comments on commit 2875990

Please sign in to comment.