File tree Expand file tree Collapse file tree 3 files changed +4
-33
lines changed Expand file tree Collapse file tree 3 files changed +4
-33
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ name: Test
2
2
3
3
env :
4
4
DENOPS_PATH : " ../denops.vim"
5
- DENO_DIR : " .deno"
6
5
7
6
on :
8
7
schedule :
38
37
- uses : denoland/setup-deno@v1
39
38
with :
40
39
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-
48
40
- name : Lint check
49
41
run : make lint
50
42
- name : Format check
80
72
- uses : denoland/setup-deno@v1
81
73
with :
82
74
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-
91
75
- uses : thinca/action-setup-vim@v1
92
76
id : vim
93
77
with :
115
99
working-directory : ./repo
116
100
run : make test
117
101
env :
118
- DENO_DIR : ../.deno
119
102
DENOPS_TEST_VIM : ${{ steps.vim.outputs.executable_path }}
120
103
DENOPS_TEST_NVIM : ${{ steps.nvim.outputs.executable_path }}
121
104
timeout-minutes : 10
Original file line number Diff line number Diff line change 1
- TARGETS := $$(find . \( -name '*.ts' -or -name '*.md' \ ) -not -path './.deno/* ')
1
+ TARGETS := $$(find . -name '*.ts' -or -name '*.md' )
2
2
3
3
.DEFAULT_GOAL := help
4
4
8
8
perl -pe ' s/(.*):.*##\s*/sprintf("%-20s",$$1)/eg;'
9
9
10
10
fmt : FORCE # # Format code
11
- @deno fmt --config deno.jsonc
11
+ @deno fmt
12
12
13
13
fmt-check : FORCE # # Format check
14
- @deno fmt --check --config deno.jsonc
14
+ @deno fmt --check
15
15
16
16
lint : FORCE # # Lint code
17
- @deno lint --config deno.jsonc
17
+ @deno lint
18
18
19
19
type-check : FORCE # # Type check
20
20
@deno test --unstable --no-run ${TARGETS}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments