From f75d76e183e4fe47acd35c31b32f8827242197ab Mon Sep 17 00:00:00 2001 From: kokobd Date: Sat, 26 Oct 2024 15:01:19 +0000 Subject: [PATCH] don't add constraint when running CI --- .github/workflows/haskell-ci.yml | 5 ----- README.md | 10 ++++++++++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml index d4eb186..aff2938 100644 --- a/.github/workflows/haskell-ci.yml +++ b/.github/workflows/haskell-ci.yml @@ -166,7 +166,6 @@ jobs: echo " ghc-options: -Werror=missing-methods" >> cabal.project cat >> cabal.project <> cabal.project.local cat cabal.project cat cabal.project.local - name: dump install plan @@ -199,10 +198,6 @@ jobs: - name: haddock run: | $CABAL v2-haddock --disable-documentation --haddock-all $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all - - name: unconstrained build - run: | - rm -f cabal.project.local - $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all - name: save cache uses: actions/cache/save@v4 if: always() diff --git a/README.md b/README.md index 520ebe6..fd5a8b8 100644 --- a/README.md +++ b/README.md @@ -48,3 +48,13 @@ cabal-hoogle run -- search catMaybes ### More Options Run `cabal-hoogle --help` to see more options. + +## Contributing + +The CI is managed by [`haskell-ci`](https://github.com/haskell-CI/haskell-ci). +After adding support of any new GHC version, run the following command using the +latest `haskell-ci` executable to regenerate a new GHA workflow file. + +```haskell +haskell-ci regenerate --no-unconstrained --installed=-all +``` \ No newline at end of file