/setup-stack

Set up your GitHub Actions workflow with a specific version of Haskell Stack

Primary LanguageJavaScriptMIT LicenseMIT

setup-stack

GitHub Actions status

This action sets up a Haskell Stack for use in actions.

Usage

See action.yml

jobs:
  build:
    name: Build ${{ matrix.os }} Sample
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, windows-latest]
    steps:
      - uses: actions/checkout@master
      - name: Setup Haskell Stack
        uses: matsubara0507/setup-stack@master
        with:
          stack-version: 2.1.3 # default is latest version
      - run: |
          stack --version
          stack build

License

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