fix(ci): use bash /dev/tcp for postgres readiness check
This commit is contained in:
@@ -55,7 +55,7 @@ jobs:
|
||||
|
||||
- name: Wait for postgres
|
||||
run: |
|
||||
until nc -z localhost 5432; do
|
||||
until bash -c 'echo > /dev/tcp/localhost/5432' 2>/dev/null; do
|
||||
echo "Waiting for postgres..."
|
||||
sleep 2
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user