april-tools / cirkit

a python framework to build, learn and reason about probabilistic circuits and tensor networks
https://cirkit-docs.readthedocs.io/en/latest/
GNU General Public License v3.0
71 stars 1 forks source link

Find a better way to save cache from Actions #51

Closed lkct closed 1 year ago

lkct commented 1 year ago

Currently, the caches saved from workflows (https://github.com/april-tools/cirkit/actions/caches) are differentiated by PR id, making the whole thing of caching seem useless if we're not modifying the PR repeatedly.

It's better to have some mechanism to share the caches among all runs to truly save time on running checks.

lkct commented 1 year ago

https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#restrictions-for-accessing-a-cache Seems a good idea to have some workflow on main.