Skip to content

Commit 3324c0f

Browse files
committed
Set POSTGRES_HOSTNAME in workflow
1 parent a4d81eb commit 3324c0f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
image: postgres
2424

2525
env:
26+
POSTGRES_HOSTNAME: postgres
2627
POSTGRES_DB: mgrt
2728
POSTGRES_USER: mgrt
2829
POSTGRES_PASSWORD: secret
@@ -33,9 +34,6 @@ jobs:
3334
--health-timeout 5s
3435
--health-retries 5
3536
36-
ports:
37-
- 5432:5432
38-
3937
steps:
4038
- uses: actions/checkout@v6
4139
- uses: actions/setup-go@v6

0 commit comments

Comments
 (0)