From d32732d3468981f69da1ed0a3e1b180eeba825c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Goran=20Meki=C4=87?= Date: Thu, 8 Feb 2024 16:16:13 +0100 Subject: [PATCH] Try the combination of short and long options --- .github/workflows/test-package.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index 7eb7bba23..5353deeaa 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -77,10 +77,10 @@ jobs: sudo apt-get install --yes postgresql-client - name: Connect to PostgreSQL with CLI - run: env PGPASSWORD=password psql --hostname=localhost --username=username -c 'SELECT VERSION();' + run: env PGPASSWORD=password psql -h localhost --username=username -c 'SELECT VERSION();' - name: Show max connections - run: env PGPASSWORD=password psql --hostname=localhost --username=username -c 'SHOW max_connections;' + run: env PGPASSWORD=password psql -h localhost --username=username -c 'SHOW max_connections;' - name: Alter max connections run: | @@ -92,7 +92,7 @@ jobs: sleep 5 - name: Show max connections - run: env PGPASSWORD=password psql --hostname=localhost --username=username -c 'SHOW max_connections;' + run: env PGPASSWORD=password psql -h localhost --username=username -c 'SHOW max_connections;' - name: Run postgres env: