Skip to content

Commit

Permalink
Run CI against nvim 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
lewis6991 committed Jul 6, 2021
1 parent a9fcfed commit d114155
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
env:
NEOVIM_BRANCH: v0.5.0

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

- name: Cache neovim
uses: actions/cache@v2
with:
path: neovim
key: build-${{env.NEOVIM_BRANCH}}

- name: Build Neovim
run: make neovim
run: make neovim NEOVIM_BRANCH=$NEOVIM_BRANCH

- name: Run Test
run: make test
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ INIT_LUAROCKS := eval $$(luarocks --lua-version=5.1 path) &&

.DEFAULT_GOAL := build

NEOVIM_BRANCH := master

neovim:
git clone --depth 1 https://github.com/neovim/neovim
git clone --depth 1 https://github.com/neovim/neovim --branch $(NEOVIM_BRANCH)
make -C $@

plenary.nvim:
Expand Down

0 comments on commit d114155

Please sign in to comment.