mirror of
https://github.com/barrucadu/dejafu.git
synced 2024-12-24 14:03:16 +03:00
Add GHC 9.2 (LTS-20.0) to CI
This commit is contained in:
parent
62ea188711
commit
aca19e2c47
3
.github/workflows/ci.yaml
vendored
3
.github/workflows/ci.yaml
vendored
@ -52,6 +52,7 @@ jobs:
|
||||
- lts-15.0 # ghc-8.8
|
||||
- lts-17.0 # ghc-8.10
|
||||
- lts-19.0 # ghc-9.0
|
||||
- lts-20.0 # ghc-9.2
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@ -95,7 +96,7 @@ jobs:
|
||||
if [[ "$RESOLVER" == "lts-9.0" ]]; then
|
||||
export PATH=$HOME/.local/bin:$PATH
|
||||
fi
|
||||
stack --no-terminal build --ghc-options="-Werror -Wno-unused-imports"
|
||||
stack --no-terminal build --ghc-options="-Werror -Wno-unused-imports -Wno-incomplete-uni-patterns"
|
||||
- name: Test
|
||||
env:
|
||||
RESOLVER: ${{ matrix.resolver }}
|
||||
|
@ -1,3 +1,4 @@
|
||||
{-# LANGUAGE CPP #-}
|
||||
{-# LANGUAGE RankNTypes #-}
|
||||
|
||||
-- |
|
||||
@ -174,7 +175,11 @@ instance (MonadConc m, Semigroup a) => Semigroup (Concurrently m a) where
|
||||
-- | @since 1.1.2.0
|
||||
instance (MonadConc m, Monoid a) => Monoid (Concurrently m a) where
|
||||
mempty = pure mempty
|
||||
#if MIN_VERSION_base(4,11,0)
|
||||
mappend = (<>)
|
||||
#else
|
||||
mappend = liftA2 mappend
|
||||
#endif
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
-- Spawning
|
||||
|
@ -8,7 +8,7 @@ currently supported versions are:
|
||||
.. csv-table::
|
||||
:header: "GHC", "Stackage", "base"
|
||||
|
||||
"9.2", "", "4.16.0.0"
|
||||
"9.2", "LTS 20.0", "4.16.0.0"
|
||||
"9.0", "LTS 19.0", "4.15.0.0"
|
||||
"8.10", "LTS 17.0", "4.14.1.0"
|
||||
"8.8", "LTS 15.0", "4.13.0.0"
|
||||
|
@ -1,4 +1,4 @@
|
||||
resolver: nightly-2022-07-01
|
||||
resolver: lts-20.0
|
||||
|
||||
packages:
|
||||
- concurrency
|
||||
|
Loading…
Reference in New Issue
Block a user