Skip to content

Commit

Permalink
CI: trying ghc 9.8
Browse files Browse the repository at this point in the history
  • Loading branch information
lyokha committed Nov 30, 2023
1 parent 194b3ed commit 747af8e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
cabal: ['3.8']
experimental: [false]
include:
- ghc: '9.8'
cabal: '3.10'
experimental: true
- ghc: '9.6'
cabal: '3.10'
experimental: false
Expand Down
7 changes: 3 additions & 4 deletions NgxExport/Tools/PCRE.hs
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,9 @@ rtRegex f = fmap L.fromStrict . uncurry doRtRegex .
doMatchRegex :: RegexF
doMatchRegex r v = return $
case match r v [] of
Nothing -> ""
Just cs -> if captureCount r == 0
then head cs
else head $ tail cs
Just (_ : c1 : _) -> c1
Just (c0 : _) -> c0
_ -> ""

-- | Matches a value against a named regex.
--
Expand Down
4 changes: 2 additions & 2 deletions ngx-export-tools-extra.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: More extra tools for
homepage: https://github.com/lyokha/ngx-export-tools-extra
license: BSD3
license-file: LICENSE
extra-source-files: Changelog.md
extra-doc-files: Changelog.md
author: Alexey Radkov <alexey.radkov@gmail.com>
maintainer: Alexey Radkov <alexey.radkov@gmail.com>
stability: stable
Expand All @@ -17,7 +17,7 @@ cabal-version: 1.20

source-repository head
type: git
location: https://github.com/lyokha/ngx-export-tools-extra
location: https://github.com/lyokha/ngx-export-tools-extra.git

flag EDE
description: Build EDE module.
Expand Down

0 comments on commit 747af8e

Please sign in to comment.