Skip to content

fix: use postgres-version input consistently in action.yaml#108

Open
veksen wants to merge 1 commit intomainfrom
veksen/fix-pg-version-refs
Open

fix: use postgres-version input consistently in action.yaml#108
veksen wants to merge 1 commit intomainfrom
veksen/fix-pg-version-refs

Conversation

@veksen
Copy link
Copy Markdown
Member

@veksen veksen commented Apr 5, 2026

Replace all hardcoded PostgreSQL version references in action.yaml with the postgres-version input. The cache path now targets only the requested version directory (fixing tar spam from caching pre-installed PG 16), the cache key uses the input, apt-get install installs the requested version instead of hardcoded 18/17 fallback, and pg_dump/pg_restore paths use the input directly instead of scanning /usr/lib/postgresql.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Query Doctor Analysis

View full run details

84 queries analyzed

2 pre-existing issues

Using assumed statistics (10000 rows/table). For better results, sync production stats.

@veksen veksen requested a review from Xetera April 5, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant