File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ci-tests
2+ on :
3+ push :
4+ branches :
5+ - master
6+ - ci2
7+ pull_request : {} # Validate all PRs
8+
9+ defaults :
10+ run :
11+ shell : bash
12+
13+ jobs :
14+ build :
15+ runs-on : ${{ matrix.os }}
16+ strategy :
17+ fail-fast : true
18+ matrix :
19+ os : [ubuntu-latest]
20+ ghc : ['9.10']
21+ steps :
22+ - uses : actions/checkout@v4
23+ - uses : haskell-actions/setup@v2
24+ id : setup-haskell-cabal
25+ with :
26+ ghc-version : ${{ matrix.ghc }}
27+ - name : Update cabal package database
28+ run : cabal update
29+ - uses : actions/cache@v3
30+ name : Cache cabal stuff
31+ with :
32+ path : |
33+ ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
34+ dist-newstyle
35+ key : ${{ runner.os }}-${{ matrix.ghc }}
36+ - name : Test
37+ run : |
38+ cabal build all
39+ cabal test --enable-tests --enable-benchmarks --test-show-details=direct all
You can’t perform that action at this time.
0 commit comments