diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4ad38dd..0e1057b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,8 +18,11 @@ jobs: - { os: ubuntu-20.04, ghc: 9.0.1, cabal: 3.4.0.0 } - { os: macos-10.15, ghc: 9.0.1, cabal: 3.4.0.0 } - { os: windows-2019, ghc: 9.0.1, cabal: 3.4.0.0 } - - { os: ubuntu-20.04, ghc: 8.10.4, cabal: 3.2.0.0 } - - { os: ubuntu-20.04, ghc: 8.8.4, cabal: 3.0.0.0 } + - { os: ubuntu-20.04, ghc: 8.10.4, cabal: 3.4.0.0 } + - { os: ubuntu-20.04, ghc: 8.8.4, cabal: 3.4.0.0 } + - { os: ubuntu-20.04, ghc: 8.6.5, cabal: 3.4.0.0 } + - { os: ubuntu-20.04, ghc: 8.4.4, cabal: 3.4.0.0 } + - { os: ubuntu-20.04, ghc: 8.2.2, cabal: 3.4.0.0 } runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 diff --git a/.gitignore b/.gitignore index 24689d4..f9aca15 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,8 @@ +/.cabal-sandbox/ +/.ghc.environment* /.stack-work/ /cabal.project.freeze +/cabal.sandbox.config /dist-newstyle/ +/dist/ /stack.yaml.lock diff --git a/witch.cabal b/witch.cabal index 67817f2..eef982c 100644 --- a/witch.cabal +++ b/witch.cabal @@ -18,23 +18,30 @@ source-repository head common basics build-depends: - , base >= 4.13.0 && < 4.16 - , bytestring >= 0.10.12 && < 0.11 - , containers >= 0.6.2 && < 0.7 - , text >= 1.2.4 && < 1.3 - , time >= 1.9 && < 1.12 + , base >= 4.10.0 && < 4.16 + , bytestring >= 0.10.8 && < 0.12 + , containers >= 0.5.10 && < 0.7 + , text >= 1.2.3 && < 1.3 + , time >= 1.9.1 && < 1.12 default-language: Haskell2010 ghc-options: -Weverything -Wno-all-missed-specialisations -Wno-implicit-prelude - -Wno-missing-deriving-strategies - -Wno-missing-export-lists + -Wno-missed-specialisations -Wno-missing-exported-signatures -Wno-redundant-constraints -Wno-safe -Wno-unsafe + if impl(ghc >= 8.4) + ghc-options: + -Wno-missing-export-lists + + if impl(ghc >= 8.8) + ghc-options: + -Wno-missing-deriving-strategies + if impl(ghc >= 8.10) ghc-options: -Wno-missing-safe-haskell-mode @@ -44,7 +51,7 @@ library import: basics build-depends: - , template-haskell >= 2.15.0 && < 2.18 + , template-haskell >= 2.12.0 && < 2.18 exposed-modules: Witch Witch.From