diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml index cdd38f870c8820e7c1f9a1df6280e37d86ad0d80..14540c003728cfd7377e7f63e47060541c4869db 100644 --- a/.github/workflows/haskell-ci.yml +++ b/.github/workflows/haskell-ci.yml @@ -8,9 +8,9 @@ # # For more information, see https://github.com/haskell-CI/haskell-ci # -# version: 0.13.20211116 +# version: 0.14.3 # -# REGENDATA ("0.13.20211116",["github","cabal.project"]) +# REGENDATA ("0.14.3",["github","cabal.project"]) # name: Haskell-CI on: @@ -32,15 +32,15 @@ jobs: strategy: matrix: include: - - compiler: ghc-9.2.1 + - compiler: ghc-9.2.2 compilerKind: ghc - compilerVersion: 9.2.1 + compilerVersion: 9.2.2 setup-method: ghcup allow-failure: false - - compiler: ghc-9.0.1 + - compiler: ghc-9.0.2 compilerKind: ghc - compilerVersion: 9.0.1 - setup-method: hvr-ppa + compilerVersion: 9.0.2 + setup-method: ghcup allow-failure: false - compiler: ghc-8.10.7 compilerKind: ghc @@ -92,11 +92,6 @@ jobs: compilerVersion: 7.4.2 setup-method: hvr-ppa allow-failure: false - - compiler: ghc-7.4.1 - compilerKind: ghc - compilerVersion: 7.4.1 - setup-method: hvr-ppa - allow-failure: false fail-fast: false steps: - name: apt @@ -105,7 +100,7 @@ jobs: apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5 if [ "${{ matrix.setup-method }}" = ghcup ]; then mkdir -p "$HOME/.ghcup/bin" - curl -sL https://downloads.haskell.org/ghcup/0.1.17.3/x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup" + curl -sL https://downloads.haskell.org/ghcup/0.1.17.5/x86_64-linux-ghcup-0.1.17.5 > "$HOME/.ghcup/bin/ghcup" chmod a+x "$HOME/.ghcup/bin/ghcup" "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 @@ -114,7 +109,7 @@ jobs: apt-get update apt-get install -y "$HCNAME" mkdir -p "$HOME/.ghcup/bin" - curl -sL https://downloads.haskell.org/ghcup/0.1.17.3/x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup" + curl -sL https://downloads.haskell.org/ghcup/0.1.17.5/x86_64-linux-ghcup-0.1.17.5 > "$HOME/.ghcup/bin/ghcup" chmod a+x "$HOME/.ghcup/bin/ghcup" "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 fi diff --git a/cabal.project b/cabal.project index 3b4db49a34c0d4cf1e5735ff694d8d266cfc085c..e6fdbadb4398bc0e333947b5fb8021778310d943 100644 --- a/cabal.project +++ b/cabal.project @@ -1,7 +1 @@ --- see http://cabal.readthedocs.io/en/latest/nix-local-build-overview.html - packages: . - -package parsec - tests: True - benchmarks: False diff --git a/parsec.cabal b/parsec.cabal index abc31d654f4316d58aaa4129c250938885974e96..fb596ec1e5101c2fedc63a0448e39e179f4b65de 100644 --- a/parsec.cabal +++ b/parsec.cabal @@ -26,7 +26,7 @@ bug-reports: https://github.com/haskell/parsec/issues category: Parsing build-type: Simple -tested-with: GHC ==9.2.1 || ==9.0.1 || ==8.10.7 || ==8.8.4 || ==8.6.5 || ==8.4.4 || ==8.2.2 || ==8.0.2 || ==7.10.3 || ==7.8.4 || ==7.6.3 || ==7.4.2 || ==7.4.1 +tested-with: GHC ==9.2.2 || ==9.0.2 || ==8.10.7 || ==8.8.4 || ==8.6.5 || ==8.4.4 || ==8.2.2 || ==8.0.2 || ==7.10.3 || ==7.8.4 || ==7.6.3 || ==7.4.2 extra-source-files: ChangeLog.md, README.md @@ -64,11 +64,10 @@ library Text.ParserCombinators.Parsec.Token build-depends: - base >= 4.5.0 && < 4.18, - mtl >= 1.1.1 && < 2.3, + base >= 4.5.1.0 && < 4.18, + mtl >= 2.1.3.1 && < 2.3, bytestring >= 0.9.2.1 && < 0.12, - text (>= 0.11.3.1 && < 0.12) - || (>= 1.0.0.0 && < 1.3) + text (>= 1.2.3.0 && < 1.3) || (>= 2.0 && < 2.1) default-language: Haskell2010 @@ -98,6 +97,11 @@ library if impl(ghc >= 7.10) ghc-options: -fno-warn-trustworthy-safe + if impl(ghc >= 9.0) + -- these flags may abort compilation with GHC-8.10 + -- https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3295 + ghc-options: -Winferred-safe-imports -Wmissing-safe-haskell-mode + test-suite parsec. type: exitcode-stdio-1.0