Skip to content

Commit 43efd32

Browse files
authored
Drop support for Vim prior to 8.2.5136 to fix CI on macOS (#507)
* Refine GitHub Actions * Drop support for Vim prior to 8.2.5136 See #506 for details.
1 parent a675dff commit 43efd32

File tree

5 files changed

+21
-24
lines changed

5 files changed

+21
-24
lines changed

.github/workflows/neovim.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
name: neovim
1+
name: Neovim
22

33
on:
44
push:
55
branches:
66
- main
77
pull_request:
8+
workflow_dispatch:
89

910
jobs:
1011
build:
@@ -20,16 +21,16 @@ jobs:
2021
- v0.4.4
2122
runs-on: ${{ matrix.os }}
2223
steps:
23-
- uses: actions/checkout@v3
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v4
2526
with:
2627
repository: thinca/vim-themis
2728
path: vim-themis
28-
- uses: thinca/action-setup-vim@v1
29+
- uses: rhysd/action-setup-vim@v1
2930
id: nvim
3031
with:
31-
vim_type: "Neovim"
32-
vim_version: "${{ matrix.version }}"
32+
neovim: true
33+
version: "${{ matrix.version }}"
3334
- name: Run tests
3435
env:
3536
THEMIS_VIM: ${{ steps.nvim.outputs.executable }}

.github/workflows/reviewdog.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ on:
55
branches:
66
- main
77
pull_request:
8+
workflow_dispatch:
89

910
jobs:
1011
vimlint:
1112
name: runner / vint
1213
runs-on: ubuntu-latest
1314
steps:
14-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1516
- name: vint
1617
uses: reviewdog/action-vint@v1
1718
with:

.github/workflows/vim.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
name: vim
1+
name: Vim
22

33
on:
44
push:
55
branches:
66
- main
77
pull_request:
8+
workflow_dispatch:
89

910
jobs:
10-
build:
11+
test:
1112
strategy:
1213
fail-fast: false
1314
matrix:
@@ -16,25 +17,19 @@ jobs:
1617
- windows-latest
1718
- ubuntu-latest
1819
version:
19-
- head
20-
- v8.2.0716 # Ubuntu 20.10 (2021/02/28)
21-
- v8.1.2269 # Ubuntu 20.04 (2021/02/28)
20+
- nightly
21+
- v8.2.5136 # https://github.com/lambdalisue/vim-fern/issues/506
2222
runs-on: ${{ matrix.os }}
2323
steps:
24-
- uses: actions/checkout@v3
25-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v4
2626
with:
2727
repository: thinca/vim-themis
2828
path: vim-themis
29-
- uses: thinca/action-setup-vim@v1
29+
- uses: rhysd/action-setup-vim@v1
3030
id: vim
3131
with:
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' }}"
32+
version: "${{ matrix.version }}"
3833
- name: Run tests
3934
env:
4035
THEMIS_VIM: ${{ steps.vim.outputs.executable }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 🌿 vim-fern
22

3-
![Support Vim 8.1.2269 or above](https://img.shields.io/badge/support-Vim%208.1.2269%20or%20above-yellowgreen.svg)
3+
![Support Vim 8.2.5136 or above](https://img.shields.io/badge/support-Vim%208.2.5136%20or%20above-yellowgreen.svg)
44
![Support Neovim 0.4.4 or above](https://img.shields.io/badge/support-Neovim%200.4.4%20or%20above-yellowgreen.svg)
55
[![Powered by vital.vim](https://img.shields.io/badge/powered%20by-vital.vim-80273f.svg)](https://github.com/vim-jp/vital.vim)
66
[![Powered by vital-Whisky](https://img.shields.io/badge/powered%20by-vital--Whisky-80273f.svg)](https://github.com/lambdalisue/vital-Whisky)

plugin/fern.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ if !has('nvim') && !has('patch-8.1.0994')
2323
elseif exists('+shellslash') && &shellslash
2424
call s:warn('"shellslash" option is not supported thus fern is disabled.')
2525
finish
26-
elseif !has('nvim') && !has('patch-8.1.2269')
27-
call s:warn('Vim prior to 8.1.2269 is not supported and fern might not work properly.')
26+
elseif !has('nvim') && !has('patch-8.2.5136')
27+
call s:warn('Vim prior to 8.2.5136 is not supported and fern might not work properly.')
2828
elseif has('nvim') && !has('nvim-0.4.4')
2929
call s:warn('Neovim prior to 0.4.4 is not supported and fern might not work properly.')
3030
endif

0 commit comments

Comments
 (0)