Timothy Clem ef0a26c8c8
Some checks failed
Main workflow / Run (ubuntu-latest) (push) Has been cancelled
Main workflow / Run (windows-latest) (push) Has been cancelled
Readme and action.yml cleanup
2019-09-30 11:43:06 -07:00
2019-09-30 10:59:53 -07:00
2019-09-23 19:56:26 -07:00
2019-09-30 11:29:33 -07:00
2019-09-30 11:30:37 -07:00
2019-09-30 11:29:33 -07:00
2019-09-23 19:56:26 -07:00
2019-09-23 19:56:26 -07:00
2019-09-30 11:43:06 -07:00
2019-09-23 19:56:26 -07:00
2019-09-23 19:56:26 -07:00
2019-09-30 10:04:01 -07:00
2019-09-30 11:30:55 -07:00
2019-09-30 11:43:06 -07:00
2019-09-23 19:56:26 -07:00

setup-haskell

GitHub Actions status

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.

Usage

See action.yml

Basic:

steps:
- uses: actions/checkout@master
- uses: actions/setup-haskell@v1
  with:
    ghc-version: '8.6.5' # Exact version of ghc to use
    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

Supported versions of GHC:

  • 8.0.2
  • 8.2.2
  • 8.4.4
  • 8.6.2
  • 8.6.3
  • 8.6.4
  • 8.6.5
  • 8.8.1

Supported versions of Cabal:

  • 2.0
  • 2.2
  • 2.4
  • 3.0

License

The scripts and documentation in this project are released under the MIT License.

Contributions

Contributions are welcome! See the Contributor's Guide.

Description
Mirror of github.com/actions/setup-haskell
Readme 20 MiB
Languages
TypeScript 97.4%
JavaScript 1.5%
Haskell 1.1%