File tree Expand file tree Collapse file tree 2 files changed +40
-1
lines changed Expand file tree Collapse file tree 2 files changed +40
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Run tests on Stackage nightly
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ # allow manual trigger
6
+
7
+ schedule :
8
+ - cron : ' 33 3 * * *'
9
+ # run daily
10
+
11
+ jobs :
12
+ build :
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ resolver :
17
+ - ' lts'
18
+ - ' nightly'
19
+
20
+ runs-on : ubuntu-latest
21
+
22
+ steps :
23
+ - uses : actions/checkout@v2
24
+
25
+ - name : Cache stack dir
26
+ uses : actions/cache@v3
27
+ env :
28
+ cache-name : cache-stack-dir
29
+ with :
30
+ path : ~/.stack
31
+ key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.resolver }}-${{ hashFiles('*.cabal') }}
32
+ restore-keys : |
33
+ ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.resolver }}-
34
+ ${{ runner.os }}-build-${{ env.cache-name }}-
35
+ ${{ runner.os }}-build-
36
+ ${{ runner.os }}-
37
+
38
+ - name : Build & Test
39
+ run : stack test --haddock --no-terminal --resolver ${{ matrix.resolver }}
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ test-suite Main
44
44
build-depends :
45
45
email-validate,
46
46
base >= 4 && < 5 ,
47
- hspec >= 2.2.3 && < 2.10 ,
47
+ hspec >= 2.2.3 && < 2.11 ,
48
48
QuickCheck >= 2.4 && < 2.15 ,
49
49
bytestring >= 0.9 && < 0.12
50
50
You can’t perform that action at this time.
0 commit comments