File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -18,22 +18,31 @@ jobs:
18
18
fail-fast : false
19
19
timeout-minutes :
20
20
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
21
27
steps :
22
28
- name : Set git to use LF
23
29
run : |
24
30
git config --global core.autocrlf false
25
31
git config --global core.eol lf
26
32
27
- - name : Checkout
28
- uses : actions/checkout@v3.0.2
29
-
30
33
- name : Set up Haskell
31
34
id : setup-haskell
32
35
uses : haskell/actions/setup@v1
33
36
with :
34
37
ghc-version : ${{ matrix.ghc }}
35
38
cabal-version : ' 3.8.1.0'
36
39
40
+ # - name: Set up PostgreSQL
41
+ # uses: ikalnytskyi/action-setup-postgres@v3
42
+
43
+ - name : Checkout
44
+ uses : actions/checkout@v3.0.2
45
+
37
46
- name : Cache
38
47
uses : actions/cache@v2.1.3
39
48
with :
You can’t perform that action at this time.
0 commit comments