File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 19
19
build :
20
20
# The type of runner that the job will run on
21
21
runs-on : ubuntu-latest
22
+ env :
23
+ NEOVIM_BRANCH : v0.5.0
22
24
23
25
# Steps represent a sequence of tasks that will be executed as part of the job
24
26
steps :
61
63
- name : Check lua files are built from latest teal
62
64
run : make tl-ensure
63
65
66
+ - name : Cache neovim
67
+ uses : actions/cache@v2
68
+ with :
69
+ path : neovim
70
+ key : build-${{env.NEOVIM_BRANCH}}
71
+
64
72
- name : Build Neovim
65
- run : make neovim
73
+ run : make neovim NEOVIM_BRANCH=$NEOVIM_BRANCH
66
74
67
75
- name : Run Test
68
76
run : make test
Original file line number Diff line number Diff line change @@ -7,8 +7,10 @@ INIT_LUAROCKS := eval $$(luarocks --lua-version=5.1 path) &&
7
7
8
8
.DEFAULT_GOAL := build
9
9
10
+ NEOVIM_BRANCH := master
11
+
10
12
neovim :
11
- git clone --depth 1 https://github.com/neovim/neovim
13
+ git clone --depth 1 https://github.com/neovim/neovim --branch $( NEOVIM_BRANCH )
12
14
make -C $@
13
15
14
16
plenary.nvim :
You can’t perform that action at this time.
0 commit comments