goto-bus-stop / setup-zig

use a @ziglang compiler in your github actions workflows
Other
147 stars 19 forks source link

Use github cache #53

Closed goto-bus-stop closed 1 year ago

goto-bus-stop commented 1 year ago

This is admittedly a little janky but it is the easiest way to add caching without changing the existing code. Should make it easy to backport to v1 of the action which is widely in use.

This really should address #44 :)

Users can disable it with cache: false if it causes problems for some reason, but it's enabled by default to hopefully reduce the downloads from ziglang.org quite a bit. It's also significantly faster with caching since Github's caches are ultra local...