ci: use nekowinston/setup-deno for caching (#348)

This commit is contained in:
winston authored and GitHub committed 2023-11-21 02:33:16 +01:00
1 parent dc998eb14f
commit 7275c21f64
4 files changed
+5 -39

No files matched your search

+1 -10
View File
@@ -6,9 +6,6 @@ on:
push:
branches: [main]
env:
DENO_DIR: /tmp/deno_cache
jobs:
lint:
name: Lint Userstyles
@@ -18,15 +15,9 @@ jobs:
- uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v1
uses: nekowinston/setup-deno@main
with:
deno-version: v1.x
- name: Cache Deno dependencies
uses: actions/cache@v3
with:
key: ${{ hashFiles('./deno.lock') }}
path: ${{ env.DENO_DIR }}
- name: Run Lint
run: deno task lint