diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 1f65c85..1c725c1 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -1,23 +1,26 @@ name: github-action -on: [push, pull_request] +on: [push, pull_request] jobs: build: strategy: matrix: - ghc: ['8.6.5', '8.8.4', '8.10.2'] + 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'] 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,7 +36,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 all + run: cabal test --enable-tests all + + - name: Build Docs + run: cabal haddock diff --git a/ChangeLog.md b/ChangeLog.md index 2f01b01..b5019a0 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -2,6 +2,8 @@ ## Unreleased +* Support GHCs through 9.8 + * Add flag for enabling/disabling tutorial build ## 0.3.0.0-r1 diff --git a/vessel.cabal b/vessel.cabal index 48c5713..00a3f30 100644 --- a/vessel.cabal +++ b/vessel.cabal @@ -18,7 +18,7 @@ extra-source-files: cabal-version: 2.0 category: Data synopsis: Functor-parametric containers -tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.7 +tested-with: 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 flag build-tutorial default: True