diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1687bb3..0323e3b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,6 +18,14 @@ jobs: run: make bootstrap env: DOTFILES_CI: 1 + - name: Install neovim + uses: rhysd/action-setup-vim@v1 + with: + neovim: true + - name: Run neovim checks + run: make nvim_check + env: + DOTFILES_CI: 1 create-key: strategy: matrix: diff --git a/Makefile b/Makefile index b3ef849..54cd4b1 100644 --- a/Makefile +++ b/Makefile @@ -262,8 +262,8 @@ install_brew_basics: homebrew check_os .PHONY: install_asdf install_asdf: check_os @echo "Installing ASDF VM..." - @git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.8.0 - @echo "Installed ASDF Version 0.8.0" + @git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.10.0 + @echo "Installed ASDF Version 0.10.0" @echo "To install latest version:" @echo "" @echo "cd ~/.asdf" @@ -312,6 +312,13 @@ install_vim: check_os link_vim @echo "For NeoVim: :PackerInstall" @echo "For Vim: :PlugInstall" +.PHONY: check_neovim +check_neovim: check_os + @echo "Running vim config basic test" + @FORCE_PACKER_INSTALL=1 nvim --headless -c 'autocmd User PackerComplete quitall' + @nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerInstall' + @nvim --headless -c 'quitall' + .PHONY: oh_my_zsh oh_my_zsh: check_os @echo "Installing oh-my-zsh..."