Skip to content

Add Stack dependency caching to CI#1904

Open
parsonsmatt wants to merge 1 commit intomasterfrom
ci-caching
Open

Add Stack dependency caching to CI#1904
parsonsmatt wants to merge 1 commit intomasterfrom
ci-caching

Conversation

@parsonsmatt
Copy link
Contributor

Replace the commented-out actions/cache@v1 with actions/cache@v4. Caches ~/.stack (GHC installations and snapshot packages) keyed by OS, resolver args, and hashes of cabal/stack config files. Includes a cleanup step to remove lock files that previously caused macOS issues with cache@v1.

Before submitting your PR, check that you've:

After submitting your PR:

  • Update the Changelog.md file with a link to your PR
  • Check that CI passes (or if it fails, for reasons unrelated to your change, like CI timeouts)

Replace the commented-out actions/cache@v1 with actions/cache@v4.
Caches ~/.stack (GHC installations and snapshot packages) keyed by
OS, resolver args, and hashes of cabal/stack config files. Includes
a cleanup step to remove lock files that previously caused macOS
issues with cache@v1.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant