diff --git a/.circleci/config.yml b/.circleci/config.yml index 408dad4..f6a48b1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -236,6 +236,9 @@ workflows: - run_build_and_test: name: test_latest latest: true + - run_build_and_test: + name: test_ghc_9.2 + stack_yaml: stack-ghc-9.2.yaml - run_build_and_test: name: test_ghc_9.0 stack_yaml: stack-ghc-9.0.yaml diff --git a/package.yaml b/package.yaml index 5dcd91b..61de117 100644 --- a/package.yaml +++ b/package.yaml @@ -19,7 +19,7 @@ github: brandonchinn178/persistent-mtl library: source-dirs: src dependencies: - - base >= 4.10 && < 4.16 + - base >= 4.10 && < 4.17 - conduit >= 1.3.0.3 && < 1.4 - containers >= 0.5.10.2 && < 0.7 - exceptions >=0.8 && <0.11 diff --git a/persistent-mtl.cabal b/persistent-mtl.cabal index 2629bc8..3814f7b 100644 --- a/persistent-mtl.cabal +++ b/persistent-mtl.cabal @@ -44,7 +44,7 @@ library src ghc-options: -Wall build-depends: - base >=4.10 && <4.16 + base >=4.10 && <4.17 , conduit >=1.3.0.3 && <1.4 , containers >=0.5.10.2 && <0.7 , exceptions >=0.8 && <0.11 diff --git a/stack-ghc-9.2.yaml b/stack-ghc-9.2.yaml new file mode 100644 index 0000000..f0f4977 --- /dev/null +++ b/stack-ghc-9.2.yaml @@ -0,0 +1,24 @@ +resolver: nightly-2021-12-16 +compiler: ghc-9.2.1 + +extra-deps: + - aeson-2.0.2.0 + - attoparsec-0.14.3 + - base-compat-0.12.1 + - base-compat-batteries-0.12.1 + - explainable-predicates-0.1.2.0 + - github: yesodweb/persistent + commit: 965f6632e74e0b30db403965277cd1b3aa9d222b + subdirs: + - persistent + - persistent-sqlite + +# https://github.com/cdsmith/explainable-predicates/issues/14 +allow-newer: true + +flags: + explainable-predicates: + regex: false + +ghc-options: + "$locals": -Werror