It would be nice if this action had a way to cache deno modules that had been downloaded in previous runs, similarly to https://github.com/actions/setup-node#caching-global-packages-data
The cache looks like it is easy enough to find https://deno.land/manual/linking_to_external_code#linking-to-third-party-code . However, I'm unsure what the key/hash for lookup and download would be to:
- Determine if a module had changed in any file.
- Lookup existing module caches.
This part is easier with a NodeJS package manager such as npm or yarn as you can just use a hash of the lockfile.
It would be nice if this action had a way to cache deno modules that had been downloaded in previous runs, similarly to https://github.com/actions/setup-node#caching-global-packages-data
The cache looks like it is easy enough to find https://deno.land/manual/linking_to_external_code#linking-to-third-party-code . However, I'm unsure what the key/hash for lookup and download would be to:
This part is easier with a NodeJS package manager such as
npmoryarnas you can just use a hash of the lockfile.