4
4
schedule :
5
5
- cron : " 0 7 * * 0"
6
6
push :
7
- branches :
8
- - main
7
+ paths :
8
+ - " **.md"
9
+ - " **.ts"
10
+ - " .github/workflows/test.yml"
11
+ - " deno.jsonc"
9
12
pull_request :
10
13
paths :
11
14
- " **.md"
12
15
- " **.ts"
13
16
- " .github/workflows/test.yml"
14
- - " Makefile "
17
+ - " deno.jsonc "
15
18
16
19
defaults :
17
20
run :
@@ -64,10 +67,10 @@ jobs:
64
67
steps :
65
68
- run : git config --global core.autocrlf false
66
69
if : runner.os == 'Windows'
67
- - uses : actions/checkout@v3
70
+ - uses : actions/checkout@v4
68
71
with :
69
72
path : " ./repo"
70
- - uses : actions/checkout@v3
73
+ - uses : actions/checkout@v4
71
74
with :
72
75
repository : " vim-denops/denops.vim"
73
76
path : " ./denops.vim"
@@ -80,41 +83,36 @@ jobs:
80
83
restore-keys : deno-
81
84
path : |
82
85
/home/runner/.cache/deno/deps/https/deno.land
83
- - uses : thinca /action-setup-vim@v1
86
+ - uses : rhysd /action-setup-vim@v1
84
87
id : vim
85
88
with :
86
- vim_type : " Vim"
87
- vim_version : " ${{ matrix.host_version.vim }}"
88
- # NOTE:
89
- # On Linux, Vim must be built from source to fix `input` issue
90
- # https://github.com/thinca/action-setup-vim/issues/11
91
- download : " ${{ (runner.OS == 'Linux' && 'never') || 'available' }}"
89
+ version : " ${{ matrix.host_version.vim }}"
92
90
- name : Check Vim
93
91
run : |
94
92
echo ${DENOPS_TEST_VIM}
95
93
${DENOPS_TEST_VIM} --version
96
94
env :
97
- DENOPS_TEST_VIM : ${{ steps.vim.outputs.executable_path }}
98
- - uses : thinca /action-setup-vim@v1
95
+ DENOPS_TEST_VIM : ${{ steps.vim.outputs.executable }}
96
+ - uses : rhysd /action-setup-vim@v1
99
97
id : nvim
100
98
with :
101
- vim_type : " Neovim "
102
- vim_version : " ${{ matrix.host_version.nvim }}"
99
+ neovim : true
100
+ version : " ${{ matrix.host_version.nvim }}"
103
101
- name : Check Neovim
104
102
run : |
105
103
echo ${DENOPS_TEST_NVIM}
106
104
${DENOPS_TEST_NVIM} --version
107
105
env :
108
- DENOPS_TEST_NVIM : ${{ steps.nvim.outputs.executable_path }}
106
+ DENOPS_TEST_NVIM : ${{ steps.nvim.outputs.executable }}
109
107
- name : Cache
110
108
run : deno cache $(find . -name '*.ts')
111
109
working-directory : ./repo
112
110
- name : Test
113
111
run : deno task test
114
112
env :
115
113
DENOPS_TEST_DENOPS_PATH : " ../denops.vim"
116
- DENOPS_TEST_VIM_EXECUTABLE : ${{ steps.vim.outputs.executable_path }}
117
- DENOPS_TEST_NVIM_EXECUTABLE : ${{ steps.nvim.outputs.executable_path }}
114
+ DENOPS_TEST_VIM_EXECUTABLE : ${{ steps.vim.outputs.executable }}
115
+ DENOPS_TEST_NVIM_EXECUTABLE : ${{ steps.nvim.outputs.executable }}
118
116
working-directory : ./repo
119
117
timeout-minutes : 3
120
118
- run : |
0 commit comments