Skip to content

Commit

Permalink
CI GHC through 9.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericson2314 committed Oct 2, 2024
1 parent 4e908a3 commit 5815e41
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

* Support GHCs through 9.8

* Add flag for enabling/disabling tutorial build

## 0.3.0.0-r1
Expand Down
2 changes: 1 addition & 1 deletion vessel.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5815e41

Please sign in to comment.