Merge pull request #47 from reflex-frp/ci-newer-versions

CI newer versions
This commit is contained in:
John Ericson 2021-06-14 21:17:58 -04:00 committed by GitHub
commit 7bf77c6563
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 15 deletions

View File

@ -1,33 +1,33 @@
name: Haskell CI
name: github-action
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
ghc: ['8.4.4', '8.6.5', '8.8.4']
ghc: ['8.4.4', '8.6.5', '8.8.4', '8.10.2']
os: ['ubuntu-latest', 'macos-latest']
runs-on: ${{ matrix.os }}
name: GHC ${{ matrix.ghc }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-haskell@v1
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: '3.0'
- name: Cache
uses: actions/cache@v1
env:
cache-name: cache-cabal
with:
path: ~/.cabal
key: ${{ runner.os }}-1-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/cabal.project') }}
key: ${{ runner.os }}-${{ matrix.ghc }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/cabal.project') }}
restore-keys: |
${{ runner.os }}-1-build-${{ env.cache-name }}-
${{ runner.os }}-1-build-
${{ runner.os }}-1-
${{ runner.os }}-${{ matrix.ghc }}-build-${{ env.cache-name }}-
${{ runner.os }}-${{ matrix.ghc }}-build-
${{ runner.os }}-${{ matrix.ghc }}-
${{ runner.os }}
- name: Install dependencies
run: |
@ -37,3 +37,5 @@ jobs:
run: cabal build --enable-tests --enable-benchmarks all
- name: Run tests
run: cabal test all
- name: Build Docs
run: cabal haddock

View File

@ -17,7 +17,12 @@ extra-source-files:
README.md
ChangeLog.md
extra-doc-files: doc/tasks.png
tested-with: GHC ==8.8.4 || ==8.6.5 || ==8.4.4
tested-with:
GHC ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.2
source-repository head
type: git
location: https://github.com/reflex-frp/reflex-vty
library
exposed-modules: Reflex.Vty
@ -147,7 +152,3 @@ test-suite reflex-vty-test
extra,
hspec >= 2.7 && < 2.8
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/reflex-frp/reflex-vty