Skip to content

Commit

Permalink
no U switch
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinochan committed Nov 14, 2024
1 parent e28ce56 commit 4151014
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready -U postgres
--health-cmd pg_isready
--health-interval 30s
--health-timeout 15s
--health-retries 5
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
POSTGRES_PASSWORD: postgres
run: |
echo "Waiting for PostgreSQL to be ready..."
until pg_isready -h localhost -U postgres; do
until pg_isready -h localhost; do
sleep 1
done
echo "PostgreSQL is ready!"
Expand Down

0 comments on commit 4151014

Please sign in to comment.