Skip to content

Haskell

How json2vars-setter handles Haskell, and how the example workflow provisions it.

json2vars-setter integration

Item Value
Matrix JSON key versions.haskell
Action output versions_haskell
Dynamic-update strategy input haskell-strategy (stable / latest / both)
Version source see Version Sources

Supported runners

The example matrix runs on Ubuntu / macOS:

ubuntu-latest, macos-latest

Any GitHub-hosted runner the setup action supports also works - the OS list is just the os array in your matrix JSON.

Supported versions

Example matrix (what the example workflow runs):

1
2
3
4
5
6
7
8
{
  "versions": {
    "haskell": [
      "9.8.4",
      "9.10.1"
    ]
  }
}

Latest values tracked by the dynamic-update tooling (auto-refreshed from the release APIs into the version cache):

Field Version
stable 9.12.4
latest 9.14.1

Cache last updated: 2026-06-24T12:28:44.326886.

Setup action (example workflow)

haskell_test.yml provisions Haskell with the matrix value json2vars-setter produced:

1
2
3
4
- name: Set up Haskell
  uses: haskell-actions/setup@v2.12.0
  with:
    ghc-version: ${{ matrix.ghc-version }}

References