mirror of
https://gitea.com/actions/setup-deno.git
synced 2025-12-13 20:06:43 +00:00
feat: include a hash of deno.lock files in the cache key automatically (#98)
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -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!"
|
||||
|
||||
Reference in New Issue
Block a user