Skip to content

Commit 15e319e

Browse files
committed
adding setup postgres and env on Go CI
1 parent 5f0a86a commit 15e319e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/go.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,10 @@ jobs:
3535
with:
3636
go-version: 1.18
3737

38-
- name: Set up postgres database
38+
- name: Set up postgres
3939
run: |
40-
apt-get update
4140
apt-get install --yes --no-install-recommends postgresql-client
42-
PGPASSWORD=postgres psql postgres -h localhost -d postgres -f /golang-test-api/resources/ddl-database.sql
41+
PGPASSWORD=postgres psql postgres -h localhost -d postgres -f ./resources/ddl-database.sql
4342
4443
- name: Set up env
4544
run: |

0 commit comments

Comments
 (0)