Skip to content

Commit e59a28e

Browse files
psteinroeclaude
andcommitted
chore: update pglinter to use main branch
Switch from the development branch to main which now includes the get_violations API and rule_messages table (v1.1.0+). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent a373c3a commit e59a28e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/actions/setup-postgres/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ runs:
7878
# Initialize pgrx for the installed PostgreSQL version
7979
cargo pgrx init --pg${PG_VERSION} $(which pg_config)
8080
81-
# Clone and build pglinter (clone to /tmp, use feat/83/violation_list for rule_messages)
81+
# Clone and build pglinter (requires v1.1.0+ for get_violations API + rule_messages table)
8282
cd /tmp
83-
git clone -b feat/83/violation_list https://github.com/pmpetit/pglinter.git
83+
git clone --depth 1 https://github.com/pmpetit/pglinter.git
8484
cd pglinter
8585
8686
# Install using pgrx

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ RUN apt-get update && \
1919
cargo install cargo-pgrx --version 0.16.1 --locked && \
2020
# Initialize pgrx for PostgreSQL 15
2121
cargo pgrx init --pg15 $(which pg_config) && \
22-
# Clone and build pglinter (using feat/83/violation_list branch for get_violations API + rule_messages)
22+
# Clone and build pglinter (requires v1.1.0+ for get_violations API + rule_messages table)
2323
cd /tmp && \
24-
git clone -b feat/83/violation_list https://github.com/pmpetit/pglinter.git && \
24+
git clone --depth 1 https://github.com/pmpetit/pglinter.git && \
2525
cd pglinter && \
2626
cargo pgrx install --pg-config $(which pg_config) --release && \
2727
# Cleanup Rust and build dependencies

0 commit comments

Comments
 (0)