From e80f1b29ecbe0e4392cfd4d43bb54ed3181491d4 Mon Sep 17 00:00:00 2001 From: Ihor Kalnytskyi Date: Sun, 2 Aug 2026 01:58:53 +0300 Subject: [PATCH] Drop PostgreSQL 14 support PostgreSQL 14 will reach end-of-life soon (12 Nov 2026) and has already been deprecated by Homebrew. Drop it from the list of supported versions and the CI matrix. --- .github/workflows/ci.yml | 1 - README.md | 4 ++-- action.yml | 6 +++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 84efe791..906ec2a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,7 +82,6 @@ jobs: - windows-2022 - windows-2025 postgres-version: - - "14" - "15" - "16" - "17" diff --git a/README.md b/README.md index 1a109384..c558b48f 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ key features: | database | The database name to set up and grant permissions to the created user. | `postgres` | | port | The server port to listen on. | `5432` | | max-connections | The maximum number of concurrent connections to the server. | `100` | -| postgres-version | The PostgreSQL major version to install. Supported values: "14", "15", "16", "17", "18". | `18` | +| postgres-version | The PostgreSQL major version to install. Supported values: "15", "16", "17", "18". | `18` | #### Outputs @@ -102,7 +102,7 @@ steps: database: test port: 34837 max-connections: 200 - postgres-version: "14" + postgres-version: "15" ssl: true id: postgres diff --git a/action.yml b/action.yml index 027c1226..f081bd9c 100644 --- a/action.yml +++ b/action.yml @@ -26,7 +26,7 @@ inputs: default: "100" required: false postgres-version: - description: The PostgreSQL major version to install. Either "14", "15", "16", "17" or "18". + description: The PostgreSQL major version to install. Either "15", "16", "17" or "18". default: "18" required: false ssl: @@ -48,8 +48,8 @@ runs: steps: - name: Install PostgreSQL run: | - if [[ ! "$INPUT_POSTGRES_VERSION" =~ ^(14|15|16|17|18)$ ]]; then - echo "::error::postgres-version must be one of: 14, 15, 16, 17, 18." + if [[ ! "$INPUT_POSTGRES_VERSION" =~ ^(15|16|17|18)$ ]]; then + echo "::error::postgres-version must be one of: 15, 16, 17, 18." exit 1 fi