We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56d51ef commit 20c38b8Copy full SHA for 20c38b8
.github/workflows/main.yml
@@ -38,13 +38,14 @@ jobs:
38
DATABASE_URL: 'postgres://postgres:postgres@localhost:${{ job.services.postgres.ports[5432] }}/postgres'
39
build:
40
runs-on: ubuntu-latest
41
- postgres:
42
- image: postgres:12.3-alpine
43
- ports:
44
- - 5432:5432
45
- env:
46
- POSTGRES_PASSWORD: postgres
47
- options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
+ services:
+ postgres:
+ image: postgres:12.3-alpine
+ ports:
+ - 5432:5432
+ env:
+ POSTGRES_PASSWORD: postgres
48
+ options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
49
if: github.ref == 'refs/heads/master'
50
needs: test
51
env:
0 commit comments