From c865c7e89d3142b5297146b31010cc134fd280c7 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Wed, 29 Nov 2023 13:19:48 -0700 Subject: [PATCH 1/4] fix: error with tests --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 84d4ebf..f4d2046 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -40,7 +40,7 @@ elif [[ "$(uname -s)" == "NT"* ]] || [[ "$(uname -s)" == "MINGW"* ]] || [[ "$(un choco install "postgresql$INPUT_POSTGRESQL_VERSION" -y --no-progress --use-download-cache elif [[ "$(uname -s)" == "Darwin" ]]; then brew update - brew install "postgresql@$INPUT_POSTGRESQL_VERSION" + brew install --force "postgresql@$INPUT_POSTGRESQL_VERSION" else echo "Unsupported OS" exit 1 From 7f6c1d82a324b4c372d3bd4b22fff0e794be426d Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Wed, 29 Nov 2023 13:38:00 -0700 Subject: [PATCH 2/4] Update test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7a4147a..f61dfa4 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] + postgresql_version: [11, 12, 14, 15] steps: - name: Checkout uses: actions/checkout@v4 From 4beac69833c29c8ccdd76f58294b53fd967e6228 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Wed, 29 Nov 2023 13:38:46 -0700 Subject: [PATCH 3/4] Update test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f61dfa4..e96a060 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: strategy: fail-fast: false matrix: - platform: [ubuntu-latest, ubuntu-20.04, macos-latest, macos-11, macos-13, windows-latest] + platform: [ubuntu-latest, macos-latest, windows-latest] postgresql_version: [11, 12, 14, 15] steps: - name: Checkout From a13f903119a6106fa55bc11d2d112ee1d4c10ee8 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Wed, 29 Nov 2023 14:14:18 -0700 Subject: [PATCH 4/4] Update entrypoint.sh --- entrypoint.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index f4d2046..b2da193 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -39,8 +39,7 @@ if [[ "$(uname -s)" == "Linux" ]]; then elif [[ "$(uname -s)" == "NT"* ]] || [[ "$(uname -s)" == "MINGW"* ]] || [[ "$(uname -s)" == *"MSYS"* ]]; then choco install "postgresql$INPUT_POSTGRESQL_VERSION" -y --no-progress --use-download-cache elif [[ "$(uname -s)" == "Darwin" ]]; then - brew update - brew install --force "postgresql@$INPUT_POSTGRESQL_VERSION" + HOMEBREW_NO_AUTO_UPDATE=1 brew install --force "postgresql@$INPUT_POSTGRESQL_VERSION" else echo "Unsupported OS" exit 1