File tree Expand file tree Collapse file tree 2 files changed +37
-1
lines changed
Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Cabal
2+
3+ on : ['pull_request', 'push']
4+
5+ jobs :
6+ build :
7+ name : Build on ${{ matrix.os }} GHC ${{ matrix.ghc }}
8+ runs-on : ${{ matrix.os }}
9+ strategy :
10+ matrix :
11+ os : [ubuntu-latest, macOS-latest]
12+ ghc : ["9.0.2", "9.2.7", "9.4.4"]
13+ fail-fast : false
14+
15+ steps :
16+ - uses : actions/checkout@v2
17+
18+ - uses : haskell/actions/setup@v2
19+ name : Setup Haskell Cabal
20+ with :
21+ ghc-version : ${{ matrix.ghc }}
22+
23+ - uses : actions/cache@v2
24+ name : Cache ~/.cabal
25+ with :
26+ path : ~/.cabal
27+ key : " ${{ runner.os }}-${{ matrix.ghc }}-v9-${{ hashFiles('stylish-haskell.cabal') }}"
28+
29+ - name : Build
30+ run : cabal build --enable-tests
31+ id : build
32+
33+ - name : Test
34+ run : cabal test
35+
Original file line number Diff line number Diff line change 22
33<img src =" ./assets/Logo/SVG/RoundedLogo.svg " width =" 100px " >
44
5- ![ Build Status] ( https://github.com/jaspervdj/stylish-haskell/workflows/CI/badge.svg )
5+ ![ Stack Build Status] ( https://github.com/jaspervdj/stylish-haskell/workflows/CI/badge.svg )
6+ ![ Cabal Build Status] ( https://github.com/jaspervdj/stylish-haskell/workflows/Cabal/badge.svg )
67
78## Introduction
89
You can’t perform that action at this time.
0 commit comments