ci: Version of cabal-install installed by setup-haskell should be specified precisely
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
At the moment the `latest` version of `cabal-install` is installed for validate jobs.
```
- name: Install primary compiler
uses: haskell-actions/setup@v2
id: setup-haskell
with:
ghc-version: ${{ env.GHC_FOR_RELEASE }}
cabal-version: latest
```
This had the effect of completely breaking CI when the definition of "latest" changed. It would be better to explicitly pin a specific version of cabal-install here and update it in a controlled manner.
See #10172
Contributor guide
Research direction
Start by locating the validate-job workflow containing the setup-haskell step shown in the issue, then review #10172 for the CI breakage context. Replace the floating cabal-version setting with a precise version and verify that the validate jobs run successfully with the pinned cabal-install version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, haskell
- Domain
- build-system, ci-cd
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100