You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cache in the github actions for both the deploy actions and the actions which are run on every PR doesn't work correctly. As a consequence, hakyll is rebuilt from scratch every time which can take half an hour.
I think I know what the problem is: The key for the cache consists of the cabal file. I.e. we have the following line:
This means that the last time the cache was updated was the last time we changed the cabal file.
Since we invoke cabal update directly afterwards, we invalidate the cached content and build from scratch.
Proposed solution: Use a cabal.freeze file.
The text was updated successfully, but these errors were encountered:
The cache in the github actions for both the deploy actions and the actions which are run on every PR doesn't work correctly. As a consequence, hakyll is rebuilt from scratch every time which can take half an hour.
I think I know what the problem is: The key for the cache consists of the cabal file. I.e. we have the following line:
This means that the last time the cache was updated was the last time we changed the cabal file.
Since we invoke
cabal update
directly afterwards, we invalidate the cached content and build from scratch.Proposed solution: Use a cabal.freeze file.
The text was updated successfully, but these errors were encountered: