I tried to simplify the CI script using setup-haskell/install but a combination of things makes that tricky. Firstly, they are aiming to drop support for older versions of GHC (specifically anything older than 8) and secondly for whatever reason I couldn't get it to reliably install older ghc versions that require ubuntu-18.04 rather than 20.04 in the CI and eventually I just gave up.
I tried to simplify the CI script using
setup-haskell/install
but a combination of things makes that tricky. Firstly, they are aiming to drop support for older versions of GHC (specifically anything older than 8) and secondly for whatever reason I couldn't get it to reliably install older ghc versions that require ubuntu-18.04 rather than 20.04 in the CI and eventually I just gave up.