This action sets up a Haskell environment for use in actions by:
- optionally installing a version of ghc and cabal and adding to PATH. Note that this action only uses versions of ghc and cabal already installed in the cache. The action will fail if no matching versions are found.
- registering problem matchers for error output
# Usage
See [action.yml](action.yml)
Basic:
``` yaml
steps:
- uses: actions/checkout@master
- uses: actions/setup-haskell@v1
with:
ghc-version: '8.6.5' # Version range or exact version of ghc to use, using semvers version range syntax.