From 3e27c104320594fc4e5023e069ca09ff1e85e352 Mon Sep 17 00:00:00 2001 From: Lev Kokotov Date: Fri, 25 Oct 2024 21:11:26 -0700 Subject: [PATCH] debug --- .github/workflows/ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e4118105..185e2afb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,11 +8,8 @@ jobs: steps: - name: Setup PostgreSQL run: | - sudo cat /etc/postgresql/14/main/pg_hba.conf - echo "peer all all peer" | sudo tee /etc/postgresql/14/main/pg_hba.conf - echo "local all postgres peer" | sudo tee -a /etc/postgresql/14/main/pg_hba.conf - echo "host all all 127.0.0.1/32 trust" | sudo tee -a /etc/postgresql/14/main/pg_hba.conf - sudo service postgresql start + sudo sed -i 's/scram-sha-256/trust/g' /etc/postgresql/14/main/pg_hba.conf + sudo service postgresql restart sudo cat /etc/postgresql/14/main/pg_hba.conf sudo -u postgres createuser --superuser --login $USER createdb $USER