From 62eb9957b45bd42f6467e58f2d217d2f59cca83f Mon Sep 17 00:00:00 2001 From: Taylor Fausak Date: Wed, 24 Nov 2021 10:37:03 -0500 Subject: [PATCH 1/4] Add GHC 9.2.1 to the test matrix This might fix #41, or it might fail. --- .github/workflows/ci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3a61821..74c9092 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,6 +14,7 @@ jobs: strategy: matrix: include: + - { os: ubuntu-20.04, ghc: 9.2.1, cabal: 3.6.2.0 } - { 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 } From acc1c9f1a1dfc02075db0ecab614b2a25aae3fdd Mon Sep 17 00:00:00 2001 From: Taylor Fausak Date: Wed, 24 Nov 2021 10:37:36 -0500 Subject: [PATCH 2/4] Allow base 4.16 --- witch.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/witch.cabal b/witch.cabal index 062df2a..a4a4dce 100644 --- a/witch.cabal +++ b/witch.cabal @@ -18,7 +18,7 @@ source-repository head common basics build-depends: - , base >= 4.10.0 && < 4.16 + , base >= 4.10.0 && < 4.17 , bytestring >= 0.10.8 && < 0.12 , containers >= 0.5.10 && < 0.7 , text >= 1.2.3 && < 1.3 From 3ffb6515f0549e82fd2d5f8d2a69d721d7c1bc4e Mon Sep 17 00:00:00 2001 From: Taylor Fausak Date: Wed, 24 Nov 2021 10:40:30 -0500 Subject: [PATCH 3/4] Allow template-haskell 2.18 --- witch.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/witch.cabal b/witch.cabal index a4a4dce..8fe644b 100644 --- a/witch.cabal +++ b/witch.cabal @@ -51,7 +51,7 @@ library import: basics build-depends: - , template-haskell >= 2.12.0 && < 2.18 + , template-haskell >= 2.12.0 && < 2.19 exposed-modules: Witch Witch.From From 6aec3dbd3970e7f7c328c66517d8ad3ed67b534c Mon Sep 17 00:00:00 2001 From: Taylor Fausak Date: Wed, 24 Nov 2021 10:43:09 -0500 Subject: [PATCH 4/4] Ignore warning about missing kind signatures --- witch.cabal | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/witch.cabal b/witch.cabal index 8fe644b..0ec1512 100644 --- a/witch.cabal +++ b/witch.cabal @@ -46,6 +46,10 @@ common basics ghc-options: -Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module + + if impl(ghc >= 9.2) + ghc-options: + -Wno-missing-kind-signatures library import: basics