From 27980bd1b9c2a7f183e4e971a37bfb9712281bd4 Mon Sep 17 00:00:00 2001 From: ymeister Date: Wed, 25 Nov 2026 00:46:50 +0900 Subject: [PATCH 1/2] Fix cabal check findings and use an exclusive base upper bound --- patch.cabal | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/patch.cabal b/patch.cabal index 4eb157c..9962fcb 100644 --- a/patch.cabal +++ b/patch.cabal @@ -26,6 +26,8 @@ category: FRP build-type: Simple extra-source-files: README.md + +extra-doc-files: ChangeLog.md source-repository head @@ -93,9 +95,6 @@ common common -O2 -fexpose-all-unfoldings -fspecialise -fspecialise-aggressively -flate-specialise -fcross-module-specialise - if !arch(wasm32) - ghc-options: -threaded -rtsopts -with-rtsopts=-N - ghc-options: -Wall -fno-show-valid-hole-fits -Wno-type-defaults -Wno-partial-type-signatures -Wincomplete-record-updates @@ -108,6 +107,10 @@ common common ghc-options: -Wmissing-deriving-strategies -Werror=missing-deriving-strategies +common rts + if !arch(wasm32) + ghc-options: -threaded -rtsopts -with-rtsopts=-N + library import: common exposed-modules: @@ -127,7 +130,7 @@ library hs-source-dirs: src default-language: Haskell2010 build-depends: - base >=4.14 && <=4.23, + base >=4.14 && <4.23, constraints-extras >=0.3 && <0.5, commutative-semigroups >=0.0 && <0.3, containers >=0.6 && <0.9, @@ -149,7 +152,7 @@ library monoidal-containers ==0.4.0.0 test-suite tests - import: common + import: common, rts type: exitcode-stdio-1.0 main-is: tests.hs hs-source-dirs: test @@ -165,7 +168,7 @@ test-suite tests buildable: False test-suite hlint - import: common + import: common, rts type: exitcode-stdio-1.0 main-is: hlint.hs hs-source-dirs: test From 2407c8b176a2425d8aeaab362e0c7bbf1ebc9537 Mon Sep 17 00:00:00 2001 From: ymeister Date: Wed, 25 Nov 2026 00:52:31 +0900 Subject: [PATCH 2/2] Run cabal check in CI --- .github/workflows/cabal-check.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/cabal-check.yml diff --git a/.github/workflows/cabal-check.yml b/.github/workflows/cabal-check.yml new file mode 100644 index 0000000..164347c --- /dev/null +++ b/.github/workflows/cabal-check.yml @@ -0,0 +1,15 @@ +name: cabal-check + +on: + pull_request: + push: + branches: [ develop, master ] + +jobs: + cabal-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + # The runner image ships cabal through ghcup. + - name: Check the package for Hackage + run: cabal check