swarm/cabal.haskell-ci
Brent Yorgey 096816133f
Support GHC 9.8, bump upper bounds, and update CI (#1828)
Make sure Swarm builds with the most recent versions of dependencies. The only one that is still lagging is `filepath`, but `servant` doesn't support `filepath-1.5` so Swarm can't either.

The only real update needed was due to some breaking changes in `aeson-2.2`, but the necessary changes were very minor.  Also fixed a few places where GHC 9.8 is generating additional warnings.

Also update our CI: `haskell-ci` recently dropped support for `hlint`, in favor of projects defining their own standalone `hlint` workflows.
2024-05-10 14:43:41 -05:00

22 lines
668 B
Plaintext

-- See cabal.haskell-ci in the tool repository for all field explanations
-- https://github.com/haskell-CI/haskell-ci/blob/master/cabal.haskell-ci
-- --no-tests --no-benchmarks build is useful to verify that package
-- builds when less constrained
-- But Swarm constrains all library dependencies and tests almost not at all
no-tests-no-benchmarks: False
unconstrained: False
-- Run cabal-docspec
docspec: True
-- Build haddocks. Accepts booleans or version range.
haddock: True
-- Build benchmarks. There are no way to run benchmarks. Accepts booleans or version range.
-- Swarm has benchmarks so at least build them :)
benchmarks: True
raw-project
flags: +ci