Skip to content

Commit e08060c

Browse files
committed
fix: Use thinca/action-setup-vim instead
1 parent 62bc3a7 commit e08060c

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

.github/workflows/neovim.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@ jobs:
2020
- v0.4.4
2121
runs-on: ${{ matrix.os }}
2222
steps:
23-
- uses: actions/checkout@v2
24-
- uses: actions/checkout@v2
23+
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v3
2525
with:
2626
repository: thinca/vim-themis
2727
path: vim-themis
28-
- uses: rhysd/action-setup-vim@v1
29-
id: vim
28+
- uses: thinca/action-setup-vim@v1
29+
id: nvim
3030
with:
31-
neovim: true
32-
version: ${{ matrix.version }}
31+
vim_type: "Neovim"
32+
vim_version: "${{ matrix.version }}"
3333
- name: Run tests
3434
env:
35-
THEMIS_VIM: ${{ steps.vim.outputs.executable }}
35+
THEMIS_VIM: ${{ steps.nvim.outputs.executable }}
3636
# XXX:
3737
# Overwrite %TMP% to point a correct temp directory.
3838
# Note that %TMP% only affects value of 'tempname()' in Windows.

.github/workflows/vim.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,25 @@ jobs:
1616
- windows-latest
1717
- ubuntu-latest
1818
version:
19-
- nightly
19+
- head
2020
- v8.2.0716 # Ubuntu 20.10 (2021/02/28)
2121
- v8.1.2269 # Ubuntu 20.04 (2021/02/28)
2222
runs-on: ${{ matrix.os }}
2323
steps:
24-
- uses: actions/checkout@v2
25-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v3
2626
with:
2727
repository: thinca/vim-themis
2828
path: vim-themis
29-
- uses: rhysd/action-setup-vim@v1
29+
- uses: thinca/action-setup-vim@v1
3030
id: vim
3131
with:
32-
neovim: false
33-
version: ${{ matrix.version }}
32+
vim_type: "Vim"
33+
vim_version: "${{ matrix.version }}"
34+
# NOTE:
35+
# On Linux, Vim must be built from source to fix `input` issue
36+
# https://github.com/thinca/action-setup-vim/issues/11
37+
download: "${{ (runner.OS == 'Linux' && 'never') || 'available' }}"
3438
- name: Run tests
3539
env:
3640
THEMIS_VIM: ${{ steps.vim.outputs.executable }}

0 commit comments

Comments
 (0)