You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the foundational principles of this action was to use GitHub
runners preinstalled PostgreSQL binaries. The rationale was simple:
* Make sure the action is fast and no installation is required.
* Make sure it's safe and doesn't reach out to external servers.
* Make sure the action is easy to audit.
Unfortunately, those foundational principles aren't working well
anymore due to the following reasons:
* Ubuntu 24.04 is shipped with PostgreSQL 16, while other runners ship
PostgreSQL 14. It's not nice when different versions are used on
different runners.
* macOS 13 & 14 runners are no longer shipped with preinstalled
PostgreSQL, which means we have to install the server.
* Many FOSS users are attracted by using the most recent PostgreSQL,
and not stuck with few years old release.
This patch adds a new `postgres-version` input parameter that controls
what major version of PostgreSQL to install. Please note, the parameter
receives only major part of the version, e.g. "14'. It's impossible to
request any minor release.
Co-Authored-By: Roman Podoliaka <[email protected]>
Co-Authored-By: Ruslan Kiyanchuk <[email protected]>
Resolves: #14
0 commit comments