Skip to content

Commit 7d36add

Browse files
committed
WIP
1 parent 9e4664c commit 7d36add

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/simple.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,31 @@ jobs:
1818
fail-fast: false
1919
timeout-minutes:
2020
60
21+
services:
22+
postgres:
23+
image: postgres:10
24+
env:
25+
POSTGRES_PASSWORD: postgres
26+
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
2127
steps:
2228
- name: Set git to use LF
2329
run: |
2430
git config --global core.autocrlf false
2531
git config --global core.eol lf
2632
27-
- name: Checkout
28-
uses: actions/checkout@v3.0.2
29-
3033
- name: Set up Haskell
3134
id: setup-haskell
3235
uses: haskell/actions/setup@v1
3336
with:
3437
ghc-version: ${{ matrix.ghc }}
3538
cabal-version: '3.8.1.0'
3639

40+
# - name: Set up PostgreSQL
41+
# uses: ikalnytskyi/action-setup-postgres@v3
42+
43+
- name: Checkout
44+
uses: actions/checkout@v3.0.2
45+
3746
- name: Cache
3847
uses: actions/cache@v2.1.3
3948
with:

0 commit comments

Comments
 (0)