ikalnytskyi/Setup PostgreSQL for Linux/macOS/Windows

Setup a preinstalled PostgreSQL server.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 7, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: ikalnytskyi/action-setup-postgres@c4dda34aae1c821e3a771b68b73b13af3198a7ee # v8

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
usernameThe username of the user to setup.nopostgres
passwordThe password of the user to setup.nopostgres
databaseThe database name to setup and grant permissions to created user.nopostgres
portThe server port to listen on.no5432
postgres-versionThe PostgreSQL major version to install. Either "14", "15", "16", "17" or "18".18
sslWhen "true", encrypt connections using SSL (TLS).nofalse
namedescription
connection-uriThe connection URI to connect to PostgreSQL.
service-nameThe service name with connection parameters.
certificate-pathThe path to the server certificate if SSL is on.