From da1759d0178a614af505bd8a84c339a9d00f9e7e Mon Sep 17 00:00:00 2001 From: Evan Rutledge Borden Date: Fri, 8 Jul 2022 16:20:53 -0500 Subject: [PATCH] Remove old LTSs --- .github/workflows/ci.yml | 2 -- module-discover.cabal | 8 ++++++++ package.yaml | 3 +++ stack-lts-12.26.yaml | 1 - stack-lts-12.26.yaml.lock | 12 ------------ stack-lts-14.27.yaml | 1 - stack-lts-14.27.yaml.lock | 12 ------------ 7 files changed, 11 insertions(+), 28 deletions(-) delete mode 100644 stack-lts-12.26.yaml delete mode 100644 stack-lts-12.26.yaml.lock delete mode 100644 stack-lts-14.27.yaml delete mode 100644 stack-lts-14.27.yaml.lock diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 701140b..80cc0f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,8 +16,6 @@ jobs: - stack.yaml # ghc-9.0 - stack-lts-18.28.yaml # ghc-8.10 - stack-lts-16.31.yaml # ghc-8.8 - - stack-lts-14.27.yaml # ghc-8.6 - - stack-lts-12.26.yaml # ghc-8.4 fail-fast: false steps: diff --git a/module-discover.cabal b/module-discover.cabal index 7569c84..351dbc7 100644 --- a/module-discover.cabal +++ b/module-discover.cabal @@ -65,6 +65,8 @@ library , filepattern if impl(ghc >= 8.10) ghc-options: -Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module + if impl(ghc >= 9.2) + ghc-options: -Wno-missing-kind-signatures default-language: Haskell2010 executable module-discover-example @@ -102,6 +104,8 @@ executable module-discover-example , module-discover if impl(ghc >= 8.10) ghc-options: -Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module + if impl(ghc >= 9.2) + ghc-options: -Wno-missing-kind-signatures default-language: Haskell2010 executable module-discover-hspec @@ -139,6 +143,8 @@ executable module-discover-hspec , module-discover if impl(ghc >= 8.10) ghc-options: -Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module + if impl(ghc >= 9.2) + ghc-options: -Wno-missing-kind-signatures default-language: Haskell2010 test-suite spec @@ -181,4 +187,6 @@ test-suite spec , module-discover if impl(ghc >= 8.10) ghc-options: -Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module + if impl(ghc >= 9.2) + ghc-options: -Wno-missing-kind-signatures default-language: Haskell2010 diff --git a/package.yaml b/package.yaml index 9b31897..55dbe0e 100644 --- a/package.yaml +++ b/package.yaml @@ -28,6 +28,9 @@ when: ghc-options: - -Wno-missing-safe-haskell-mode - -Wno-prepositive-qualified-module + - condition: "impl(ghc >= 9.2)" + ghc-options: + - -Wno-missing-kind-signatures dependencies: - base < 5 diff --git a/stack-lts-12.26.yaml b/stack-lts-12.26.yaml deleted file mode 100644 index e09b3ae..0000000 --- a/stack-lts-12.26.yaml +++ /dev/null @@ -1 +0,0 @@ -resolver: lts-12.26 diff --git a/stack-lts-12.26.yaml.lock b/stack-lts-12.26.yaml.lock deleted file mode 100644 index 6bee1e8..0000000 --- a/stack-lts-12.26.yaml.lock +++ /dev/null @@ -1,12 +0,0 @@ -# This file was autogenerated by Stack. -# You should not edit this file by hand. -# For more information, please see the documentation at: -# https://docs.haskellstack.org/en/stable/lock_files - -packages: [] -snapshots: -- completed: - size: 509471 - url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/12/26.yaml - sha256: 95f014df58d0679b1c4a2b7bf2b652b61da8d30de5f571abb0d59015ef678646 - original: lts-12.26 diff --git a/stack-lts-14.27.yaml b/stack-lts-14.27.yaml deleted file mode 100644 index 785b146..0000000 --- a/stack-lts-14.27.yaml +++ /dev/null @@ -1 +0,0 @@ -resolver: lts-14.27 diff --git a/stack-lts-14.27.yaml.lock b/stack-lts-14.27.yaml.lock deleted file mode 100644 index e24dcac..0000000 --- a/stack-lts-14.27.yaml.lock +++ /dev/null @@ -1,12 +0,0 @@ -# This file was autogenerated by Stack. -# You should not edit this file by hand. -# For more information, please see the documentation at: -# https://docs.haskellstack.org/en/stable/lock_files - -packages: [] -snapshots: -- completed: - size: 524996 - url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/14/27.yaml - sha256: 7ea31a280c56bf36ff591a7397cc384d0dff622e7f9e4225b47d8980f019a0f0 - original: lts-14.27