diff --git a/.github/actions/setup-postgres-linux/action.yml b/.github/actions/setup-postgres-linux/action.yml index 9f905b1c..9e1597bf 100644 --- a/.github/actions/setup-postgres-linux/action.yml +++ b/.github/actions/setup-postgres-linux/action.yml @@ -13,6 +13,4 @@ runs: - name: Configure the database shell: bash - run: | - sudo chmod +x ./scripts/setup_test_database.sql - sudo -u postgres psql -f ./scripts/setup_test_database.sql + run: sudo su - postgres psql -c 'select 1 as id'