Skip to content

fix incorrect caching in workflows#96

Open
sermuns wants to merge 1 commit into
ratatui:mainfrom
sermuns:fix-caching
Open

fix incorrect caching in workflows#96
sermuns wants to merge 1 commit into
ratatui:mainfrom
sermuns:fix-caching

Conversation

@sermuns

@sermuns sermuns commented Apr 24, 2026

Copy link
Copy Markdown

It might sound confusing, but you must run the cache action BEFORE the
step that benefits from the cache. Where you invoke the cache action is
where you hope to RESTORE from cache. The actual caching is done in an
automatic post-step to the job.

As it is now, the caching has no effect.

I also removed caching where it is unneccesary. Formatting doesn't need
us to build the code, so no caching needed.

It might sound confusing, but you must run the cache action BEFORE the
step that benefits from the cache. Where you invoke the cache action is
where you hope to RESTORE from cache. The actual caching is done in an
automatic post-step to the job.

As it is now, the caching has no effect.

I also removed caching where it is unneccesary. Formatting doesn't need
us to build the code, so no caching needed.
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.

2 participants