895038cb9e1e294ac3bb5d62ed9d989f148e9135
setup-haskell
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
Basic:
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.
cabal-version: '3.0'
- run: runghc Hello.hs
Matrix Testing:
jobs:
build:
runs-on: ubuntu-16.04
strategy:
matrix:
ghc: [ '8.2.2', '8.6.5' ]
cabal: [ '2.0', '3.0' ]
name: Haskell GHC ${{ matrix.ghc }} sample
steps:
- uses: actions/checkout@master
- name: Setup Haskell
uses: actions/setup-haskell@v1
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- run: runghc Hello.hs
License
The scripts and documentation in this project are released under the MIT License
Contributions
Contributions are welcome! See Contributor's Guide
Description
Languages
TypeScript
97.4%
JavaScript
1.5%
Haskell
1.1%