You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/test.yml
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,10 @@ jobs:
46
46
47
47
echo "/usr/lib/postgresql/18/bin" >> $GITHUB_PATH
48
48
sudo systemctl start postgresql
49
+
sudo -u postgres psql -c "ALTER USER postgres PASSWORD NULL;"
50
+
PG_HBA="/etc/postgresql/18/main/pg_hba.conf" grep -q '127.0.0.1/32 trust' "$PG_HBA" ||echo "host all all 127.0.0.1/32 trust" | sudo tee -a "$PG_HBA" >/dev/null
51
+
grep -q '::1/128 trust' "$PG_HBA" || echo "host all all ::1/128 trust" | sudo tee -a "$PG_HBA" >/dev/null
0 commit comments