diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index b5b57bb..bafab89 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -6,18 +6,20 @@ jobs: build: strategy: matrix: - ghc: ['8.6.5', '8.10.7', '9.0.1', '9.2.2', '9.8.1'] + ghc: ['8.6.5', '8.8.4', '8.10.7', '9.0.2', '9.2.5', '9.4.5', '9.6.1', '9.8.2', '9.10.1'] os: ['ubuntu-latest', 'macos-latest'] runs-on: ${{ matrix.os }} name: GHC ${{ matrix.ghc }} on ${{ matrix.os }} steps: + - uses: actions/checkout@v3 + - uses: haskell-actions/setup@v2 with: ghc-version: ${{ matrix.ghc }} - name: Cache - uses: actions/cache@v1 + uses: actions/cache@v3 env: cache-name: cache-cabal with: @@ -33,9 +35,12 @@ jobs: run: | cabal update cabal build --only-dependencies --enable-tests --enable-benchmarks + - name: Build run: cabal build --enable-tests --enable-benchmarks all + - name: Run tests run: cabal test --enable-tests all + - name: Build Docs run: cabal haddock