haskell / haskell/cabal

Consider using XDG directory structure for cabal in CI

Open
#8,855 4 comments 1 reaction 0 assignees View on GitHub
continuous-integration re: xdg type: discussion
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.