diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7a4147a..e96a060 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,8 +26,8 @@ jobs: strategy: 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] + platform: [ubuntu-latest, macos-latest, windows-latest] + postgresql_version: [11, 12, 14, 15] steps: - name: Checkout uses: actions/checkout@v4 diff --git a/entrypoint.sh b/entrypoint.sh index 84d4ebf..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 "postgresql@$INPUT_POSTGRESQL_VERSION" + HOMEBREW_NO_AUTO_UPDATE=1 brew install --force "postgresql@$INPUT_POSTGRESQL_VERSION" else echo "Unsupported OS" exit 1