ci(gitea): cache DENO_DIR keyed on deno.lock
Some checks failed
CI / check (push) Failing after 16s

setup-deno's built-in cache stores fetched JSR/npm modules and
compiled dependencies across runs. Keying on the lockfile hash
invalidates the cache only when dependencies change.
This commit is contained in:
Julien Calixte
2026-06-07 22:22:10 +02:00
parent 3611add21a
commit 6159ec00e0

View File

@@ -14,6 +14,8 @@ jobs:
- uses: denoland/setup-deno@v2 - uses: denoland/setup-deno@v2
with: with:
deno-version: v2.x deno-version: v2.x
cache: true
cache-hash: ${{ hashFiles('deno.lock') }}
- name: Format check - name: Format check
run: deno fmt --check run: deno fmt --check