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

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

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!"