File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # modified from https://github.com/jgm/pandoc/blob/master/.github/workflows/ci.yml
2+ name : Haskell library and example
3+
4+ concurrency :
5+ group : ${{ github.workflow }}-${{ github.ref }}
6+ cancel-in-progress : true
7+
8+ on :
9+ push :
10+ branches :
11+ - ' **'
12+ paths-ignore : []
13+ pull_request :
14+ paths-ignore : []
15+
16+ jobs :
17+ build :
18+ runs-on : ubuntu-latest
19+ strategy :
20+ matrix :
21+ ghc : ['9.6.7','9.8.4','9.10.1']
22+ cabal : ['3.14.2.0']
23+ os : [ubuntu-latest]
24+ name : Haskell GHC ${{ matrix.ghc }} sample
25+ steps :
26+ - uses : actions/checkout@v4
27+ - uses : haskell/ghcup-setup@v1.2.2
28+ with :
29+ ghc : ${{ matrix.ghc }}
30+ cabal : ${{ matrix.cabal }}
31+ config : |
32+ # don't cache metadata files based on last access time
33+ meta-cache: 0
34+ # see https://github.com/haskell/ghcup-hs/blob/master/data/config.yaml
35+ # for full documentation
36+ url-source:
37+ - GHCupURL
38+ - prereleases
39+ - name : Cabal Update
40+ run : |
41+ cabal update
42+
43+ - name : Build Haskell
44+ run : |
45+ cabal build all --enable-tests
46+
47+ - uses : purescript-contrib/setup-purescript@main
48+ with :
49+ spago : " unstable"
50+
51+ - name : Cache PureScript dependencies
52+ uses : actions/cache@v4.2.3
53+ with :
54+ key : ${{ runner.os }}-spago-${{ hashFiles('**/spago.yaml') }}
55+ path : |
56+ .spago
57+ output
58+ test/RoundTripArgonautAesonGeneric/app/output
59+ test/RoundTripJsonHelpers/app/output
60+
61+ - name : Build PureScript
62+ run : |
63+ spago build
64+ cd test/RoundTripArgonautAesonGeneric/app
65+ spago build
66+ cd ../../../
67+ cd test/RoundTripJsonHelpers/app
68+ spago build
69+
70+ - name : Haskell Tests
71+ run : |
72+ cabal test all --disable-optimization
73+
74+ - name : Spago Tests
75+ run : |
76+ spago test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11name : " Nix Flake"
2+
3+ concurrency :
4+ group : ${{ github.workflow }}-${{ github.ref }}
5+ cancel-in-progress : true
6+
27on :
38 pull_request :
49 push :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ library
3333 , Language.PureScript.Bridge.Tuple
3434 , Language.PureScript.Bridge.TypeInfo
3535 , Language.PureScript.Bridge.TypeParameters
36- build-depends : base >= 4.8 && < 6.0
36+ build-depends : base >= 4.18 && < 6.0
3737 , containers
3838 , directory
3939 , filepath
You can’t perform that action at this time.
0 commit comments