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
As a minimal example: this setup is working nicely for me so far. I have yet to see if the intended behavior (clear cache on update to *dprint.json) is working, but that seems like the most logical thing to signal an update.
The question is, should this action itself allow for use of a cache, optionally? IMHO yes, but perhaps just the example of using the action should include a cache.
The text was updated successfully, but these errors were encountered:
I just did a release of dprint that fixes a caching issue (https://github.com/dprint/dprint/releases/tag/0.41.0) on GH actions. There is a PR here about updating the docs to indicate how to do caching dprint/dprint#740 but building it directly into the action would probably be good. I'm not sure if it should be turned on by default though. I think probably, with a major release of the action.
https://github.com/actions/cache#cache-action can be used to store the dprint cache in this check action, that radically lessens the load for the action.
As a minimal example: this setup is working nicely for me so far. I have yet to see if the intended behavior (clear cache on update to
*dprint.json
) is working, but that seems like the most logical thing to signal an update.The question is, should this action itself allow for use of a cache, optionally? IMHO yes, but perhaps just the example of using the action should include a cache.
The text was updated successfully, but these errors were encountered: