Skip to content

Remove cabal cache form CI #3932

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

Merged
merged 4 commits into from
Jun 12, 2024
Merged

Remove cabal cache form CI #3932

merged 4 commits into from
Jun 12, 2024

Conversation

goodlyrottenapple
Copy link
Contributor

We noticed that we are trying to cache the cabal store, however, Nix already does this for us, as we have seen from the fact that cache has been broken but builds run just as fast. Therefore, this caching should be removed entirely.

This also fixes an issue where the cache key on master was not being built correctly, because we forgot to set the ghc_version ENV variable. THis also meant we were building with a different version of GHC on master push vs the feature branches.

@goodlyrottenapple goodlyrottenapple requested review from geo2a and jberthold and removed request for geo2a June 11, 2024 14:44
Copy link
Member

@jberthold jberthold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines +10 to +13
env:
ghc_version: "9.6.5"
stack_version: "2.15.1"
hpack_version: '0.36'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(nit) could remove those variables from release.yml to avoid confusion

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea

@rv-jenkins rv-jenkins merged commit dec1902 into master Jun 12, 2024
6 checks passed
@rv-jenkins rv-jenkins deleted the sam/remove-cabal-cache branch June 12, 2024 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants