Consider using XDG directory structure for cabal in CI
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
As discussed in #8840, due to caching, our CI is probably stuck with ~/.cabal currently. It may be a good idea to wipe the cache and see where it brings us. Also, maybe it makes sense to add some diagnostics in the CI to make it more clear which setup we use (legacy or XDG).
As we’re using setup-haskell action, this is related:
- https://github.com/haskell/actions/issues/210
Contributor guide
Research direction
Start by reading issue #8840 and the linked setup-haskell issue, then inspect the repository's CI configuration and current cache setup. Done should include a tested decision on whether CI can use the XDG Cabal directories and diagnostics that identify whether the legacy or XDG setup is active.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, haskell
- Domain
- build-system, ci-cd
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100