diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index e3d4b116f..bef480766 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -9,12 +9,8 @@ jobs: steps: - uses: actions/checkout@v1 - - name: Install recent cabal/ghc - run: add-apt-repository ppa:hvr/ghc && apt-get update && apt-get install ghc-8.6.4 cabal-install-2.4 - name: Install dependencies - run: cabal v2-update && cabal v2-build --dependencies-only --enable-tests - - name: Build + run: stack update && stack build --only-dependencies + - name: Build and test run: | - cabal v2-build --enable-tests - - name: Run tests - run: cabal v2-test + stack test