Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,20 @@ jobs:
- name: Install cargo-llvm-cov for coverage report
run: cargo install --locked [email protected]

- name: Clippy pg_fusion (lib only, after pgrx)
run: |
# Lint the extension crate now that Postgres symbols and pgrx config are available.
# Limit to lib target to avoid linking test harness against PG server symbols.
cargo clippy -p pg_fusion --lib --features "pg${{ env.PG_MAJOR }}, pg_test" --no-default-features

- name: Format and lint
run: |
cargo fmt --all -- --check
cargo clippy --all-targets --features "pg${{ env.PG_MAJOR }}, pg_test" --no-default-features
# Run clippy for non-extension crates to avoid linking against PG outside pgrx
cargo clippy --workspace \
--exclude pg_fusion \
--exclude pg_test \
--all-targets --no-default-features


- name: Set up permissions for PostgreSQL
Expand Down
Loading