From 04c1ded2c2f7bb2fe1c2065978aeb2e090d02e0c Mon Sep 17 00:00:00 2001 From: Brennan Colberg Date: Wed, 22 Nov 2023 05:52:14 -0800 Subject: [PATCH] cut off postgres@10 --- .github/workflows/test.yml | 2 +- entrypoint.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8ef1da4..60a7acf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,7 @@ jobs: fail-fast: false matrix: platform: [ubuntu-latest, ubuntu-20.04, macos-latest, macos-11, macos-13, windows-latest] - postgresql_version: [10, 11, 12, 14, 15, 16] + postgresql_version: [11, 12, 14, 15, 16] steps: - name: Checkout uses: actions/checkout@v4 diff --git a/entrypoint.sh b/entrypoint.sh index 16bac3f..d44bfdd 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -12,9 +12,9 @@ if ! [[ "$INPUT_POSTGRESQL_VERSION" =~ ^[0-9]+$ ]]; then exit 1 fi -# Check if the input is between 10 and 16 (inclusive) -if (( INPUT_POSTGRESQL_VERSION < 10 || INPUT_POSTGRESQL_VERSION > 16 )); then - echo "Error: $INPUT_POSTGRESQL_VERSION is not between 10 and 16 (inclusive)." +# Check if the input is between 11 and 16 (inclusive) +if (( INPUT_POSTGRESQL_VERSION < 11 || INPUT_POSTGRESQL_VERSION > 16 )); then + echo "Error: $INPUT_POSTGRESQL_VERSION is not between 11 and 16 (inclusive)." exit 1 fi