Skip to content

Commit d114155

Browse files
committed
Run CI against nvim 0.5
1 parent a9fcfed commit d114155

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/ci.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
build:
2020
# The type of runner that the job will run on
2121
runs-on: ubuntu-latest
22+
env:
23+
NEOVIM_BRANCH: v0.5.0
2224

2325
# Steps represent a sequence of tasks that will be executed as part of the job
2426
steps:
@@ -61,8 +63,14 @@ jobs:
6163
- name: Check lua files are built from latest teal
6264
run: make tl-ensure
6365

66+
- name: Cache neovim
67+
uses: actions/cache@v2
68+
with:
69+
path: neovim
70+
key: build-${{env.NEOVIM_BRANCH}}
71+
6472
- name: Build Neovim
65-
run: make neovim
73+
run: make neovim NEOVIM_BRANCH=$NEOVIM_BRANCH
6674

6775
- name: Run Test
6876
run: make test

Makefile

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ INIT_LUAROCKS := eval $$(luarocks --lua-version=5.1 path) &&
77

88
.DEFAULT_GOAL := build
99

10+
NEOVIM_BRANCH := master
11+
1012
neovim:
11-
git clone --depth 1 https://github.com/neovim/neovim
13+
git clone --depth 1 https://github.com/neovim/neovim --branch $(NEOVIM_BRANCH)
1214
make -C $@
1315

1416
plenary.nvim:

0 commit comments

Comments
 (0)