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-14 18:58:13 +02:00
committed by Leo Kettmeir
parent aa0fea114b
commit 609c005598
12 changed files with 1993 additions and 830 deletions
-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:[email protected]
@@ -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:[email protected] "It works!"