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: fixes job caches not producing after recent cabal upgrade #3072

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

develop7
Copy link
Collaborator

@develop7 develop7 commented Nov 28, 2023

Recent and, more importantly, recommended by ghcup cabal adopted XDG guidelines and stores data across multiple directories under $HOME.

Creating ~/.cabal manually returns old behavior and allows caching single directory again.

UPD: the cache entry is in at https://github.com/PostgREST/postgrest/actions/caches#cache-entry-cache-cabal-Linux-9.2.4-d8460256acb9e907b2ffa2affd3a649ad1c6b6bd6aa4fdaa0cc471f49233e884-5dced405a4da11e069fe31a9ae431e31bacfd4cb6458672788062d7a6a9b8a6e

UPD: caching works again, the "Install dependencies" job takes 23 sec again

@develop7 develop7 marked this pull request as ready for review November 28, 2023 16:39
Recent cabal adopted XDG guidelines and stores data
across multiple directories under $HOME.
Creating ~/.cabal manually returns old behavior and allows caching single directory again.
Copy link
Member

@steve-chavez steve-chavez left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@steve-chavez steve-chavez merged commit a72241a into PostgREST:main Nov 28, 2023
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants