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

This commit is contained in:
David Sherret authored and GitHub committed 2025-05-13 12:53:56 -04:00
1 parent fd6b0ad149
commit 3169cf993b
12 files changed
+1993 -830

No files matched your search

-2
View File
@@ -92,7 +92,6 @@ jobs:
uses: ./
with:
cache: true
cache-hash: ${{ hashFiles('**/deno.lock') }}
- name: Download dependencies for cache
run: deno install --global --no-config npm:cowsay@1.6.0
@@ -110,7 +109,6 @@ jobs:
uses: ./
with:
cache: true
cache-hash: ${{ hashFiles('**/deno.lock') }}
- name: Run with cached dependencies
run: deno run --cached-only --no-config -RE npm:cowsay@1.6.0 "It works!"