Merge pull request #15 from composite-hs/df/8.2.2 #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: {} | |
jobs: | |
build-server: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: dist-newstyle | |
key: cabal-${{ hashFiles('cabal.project') }} | |
restore-keys: | | |
cabal-${{ hashFiles('cabal.project') }} | |
cabal- | |
- uses: haskell/actions/setup@v1 | |
with: | |
ghc-version: '9.2.2' | |
enable-stack: false | |
- run: cabal v2-update | |
- run: cabal v2-build all | |
- run: cabal v2-test all |