File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
build :
11
+ name : ghc-${{ matrix.vers.ghc }}
11
12
runs-on : ubuntu-latest
12
13
strategy :
13
14
matrix :
14
- cabal : ["3.10"]
15
+ cabal : ["3.10.3.0 "]
15
16
vers :
16
- - {ghc: "9.2.8", stackage: "lts-20.26"}
17
- - {ghc: "9.4.8", stackage: "lts-21.25"}
18
- - {ghc: "9.6.5", stackage: "lts-22.22"}
19
17
- {ghc: "9.8.2", stackage: "nightly-2024-05-18"}
20
18
21
19
steps :
22
20
- uses : actions/checkout@v4
23
21
24
- - uses : haskell/actions/setup@v1
25
- name : setup stack
22
+ - name : Set up GHC and cabal-install
23
+ uses : haskell-actions/setup@v2
24
+ id : setup
26
25
with :
27
- enable-stack : true
28
- stack-version : ' latest'
26
+ ghc-version : ${{ matrix.vers.ghc }}
29
27
cabal-version : ${{ matrix.cabal }}
28
+ enable-stack : true
29
+ stack-version : ' 2.15.7'
30
30
31
- - uses : actions/cache@v2
32
- name : cache ~/.stack
31
+ - name : Install Dhall
32
+ uses : dhall-lang/setup-dhall@v4
33
33
with :
34
- path : ~/.stack
35
- key : ${{ runner.os }}-${{ matrix.vers.ghc }}-stack
34
+ version : ' 1.42.0'
35
+
36
+ - name : Updo
37
+ run : GHC_VERSION=${{ matrix.vers.ghc }} STACKAGE_VERSION=${{ matrix.vers.stackage }} make -f project-files.mk stack.yaml
36
38
37
- - name : build tests
38
- run : |
39
- GHC_VERSION=${{ matrix.vers.ghc }} STACKAGE_VERSION=${{ matrix.vers.stackage }} make -f project-files.mk
40
- stack test --no-run-tests --no-terminal
39
+ - name : build
40
+ run : stack test --no-run-tests --no-terminal
41
41
42
42
- name : test golden
43
- run : stack test hpack-dhall:golden --no-terminal --test-arguments "--color=always" --stack-yaml=./stack/stack-${{ matrix.ghc }}.yaml
43
+ run : stack test hpack-dhall:golden --no-terminal --test-arguments "--color=always"
You can’t perform that action at this time.
0 commit comments