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