Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Stop caching ~/.cabal/{packages,store} #292

Merged
merged 1 commit into from
Mar 13, 2025

Conversation

langston-barrett
Copy link
Contributor

We already cache ${{ steps.setup-haskell.outputs.cabal-store }}, so caching the store this way was likely redundant. Not sure why packages was cached, but it's probably unnecessary.

Also, in cabal-3.12 or later, the cache is written to ~/.local/state/cabal/store (to respect the XDG Base Directory Specification), so ~/.cabal/store will be flat-out wrong at that point.

Fixes #291.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
We already cache `${{ steps.setup-haskell.outputs.cabal-store }}`, so
caching the store this way was likely redundant. Not sure why `packages`
was cached, but it's probably unnecessary.

Also, in cabal-3.12 or later, the cache is written to
~/.local/state/cabal/store (to respect the XDG Base Directory
Specification), so ~/.cabal/store will be flat-out wrong at that point.

Fixes #291.
@langston-barrett langston-barrett added the CI Issues related to continuous integration label Mar 13, 2025
@langston-barrett langston-barrett merged commit c185a55 into master Mar 13, 2025
31 checks passed
@langston-barrett langston-barrett deleted the lb/ci-cleanup-cache branch March 13, 2025 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Issues related to continuous integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ci: Stop caching ~/.cabal/store?
2 participants