feat: include a hash of deno.lock files in the cache key automatically (#98)

(cherry picked from commit 3169cf993b)
This commit is contained in:
David Sherret
2025-05-13 12:53:56 -04:00
committed by Leo Kettmeir
parent aa0fea114b
commit 609c005598
12 changed files with 1993 additions and 830 deletions

View File

@@ -17,7 +17,7 @@ inputs:
description: Cache downloaded modules & packages automatically in GitHub Actions cache.
default: "false"
cache-hash:
description: A hash used as part of the cache key. Use e.g. `$\{{ hashFiles('**/deno.lock') }}` to cache based on the lockfile contents.
description: A hash used as part of the cache key, which defaults to a hash of the deno.lock files.
outputs:
cache-hit:
description: A boolean indicating whether the cache was hit.