Skip to content

Commit f6f7c0c

Browse files
committed
☕ Do NOT use DENO_DIR cache to simplify
1 parent b0d2e0f commit f6f7c0c

File tree

3 files changed

+4
-33
lines changed

3 files changed

+4
-33
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: Test
22

33
env:
44
DENOPS_PATH: "../denops.vim"
5-
DENO_DIR: ".deno"
65

76
on:
87
schedule:
@@ -38,13 +37,6 @@ jobs:
3837
- uses: denoland/setup-deno@v1
3938
with:
4039
deno-version: "${{ matrix.version }}"
41-
- uses: actions/cache@v3
42-
with:
43-
path: ${{ env.DENO_DIR }}
44-
key: ${{ runner.os }}-deno-${{ matrix.version }}-${{ hashFiles('**/*.ts') }}
45-
restore-keys: |
46-
${{ runner.os }}-deno-${{ matrix.version }}-
47-
${{ runner.os }}-deno-
4840
- name: Lint check
4941
run: make lint
5042
- name: Format check
@@ -80,14 +72,6 @@ jobs:
8072
- uses: denoland/setup-deno@v1
8173
with:
8274
deno-version: "${{ matrix.version }}"
83-
- uses: actions/cache@v3
84-
id: cache
85-
with:
86-
path: ${{ env.DENO_DIR }}
87-
key: ${{ runner.os }}-deno-${{ matrix.version }}-${{ hashFiles('**/*.ts') }}
88-
restore-keys: |
89-
${{ runner.os }}-deno-${{ matrix.version }}-
90-
${{ runner.os }}-deno-
9175
- uses: thinca/action-setup-vim@v1
9276
id: vim
9377
with:
@@ -115,7 +99,6 @@ jobs:
11599
working-directory: ./repo
116100
run: make test
117101
env:
118-
DENO_DIR: ../.deno
119102
DENOPS_TEST_VIM: ${{ steps.vim.outputs.executable_path }}
120103
DENOPS_TEST_NVIM: ${{ steps.nvim.outputs.executable_path }}
121104
timeout-minutes: 10

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
TARGETS := $$(find . \( -name '*.ts' -or -name '*.md' \) -not -path './.deno/*')
1+
TARGETS := $$(find . -name '*.ts' -or -name '*.md')
22

33
.DEFAULT_GOAL := help
44

@@ -8,13 +8,13 @@ help:
88
perl -pe 's/(.*):.*##\s*/sprintf("%-20s",$$1)/eg;'
99

1010
fmt: FORCE ## Format code
11-
@deno fmt --config deno.jsonc
11+
@deno fmt
1212

1313
fmt-check: FORCE ## Format check
14-
@deno fmt --check --config deno.jsonc
14+
@deno fmt --check
1515

1616
lint: FORCE ## Lint code
17-
@deno lint --config deno.jsonc
17+
@deno lint
1818

1919
type-check: FORCE ## Type check
2020
@deno test --unstable --no-run ${TARGETS}

deno.jsonc

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)