44 schedule :
55 - cron : " 0 7 * * 0"
66 push :
7- branches :
8- - main
7+ paths :
8+ - " **.md"
9+ - " **.ts"
10+ - " .github/workflows/test.yml"
11+ - " deno.jsonc"
912 pull_request :
1013 paths :
1114 - " **.md"
1215 - " **.ts"
1316 - " .github/workflows/test.yml"
14- - " Makefile "
17+ - " deno.jsonc "
1518
1619defaults :
1720 run :
@@ -64,10 +67,10 @@ jobs:
6467 steps :
6568 - run : git config --global core.autocrlf false
6669 if : runner.os == 'Windows'
67- - uses : actions/checkout@v3
70+ - uses : actions/checkout@v4
6871 with :
6972 path : " ./repo"
70- - uses : actions/checkout@v3
73+ - uses : actions/checkout@v4
7174 with :
7275 repository : " vim-denops/denops.vim"
7376 path : " ./denops.vim"
@@ -80,41 +83,36 @@ jobs:
8083 restore-keys : deno-
8184 path : |
8285 /home/runner/.cache/deno/deps/https/deno.land
83- - uses : thinca /action-setup-vim@v1
86+ - uses : rhysd /action-setup-vim@v1
8487 id : vim
8588 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 }}"
9290 - name : Check Vim
9391 run : |
9492 echo ${DENOPS_TEST_VIM}
9593 ${DENOPS_TEST_VIM} --version
9694 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
9997 id : nvim
10098 with :
101- vim_type : " Neovim "
102- vim_version : " ${{ matrix.host_version.nvim }}"
99+ neovim : true
100+ version : " ${{ matrix.host_version.nvim }}"
103101 - name : Check Neovim
104102 run : |
105103 echo ${DENOPS_TEST_NVIM}
106104 ${DENOPS_TEST_NVIM} --version
107105 env :
108- DENOPS_TEST_NVIM : ${{ steps.nvim.outputs.executable_path }}
106+ DENOPS_TEST_NVIM : ${{ steps.nvim.outputs.executable }}
109107 - name : Cache
110108 run : deno cache $(find . -name '*.ts')
111109 working-directory : ./repo
112110 - name : Test
113111 run : deno task test
114112 env :
115113 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 }}
118116 working-directory : ./repo
119117 timeout-minutes : 3
120118 - run : |
0 commit comments