File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,13 +38,27 @@ jobs:
3838 uses : rhysd/action-setup-vim@v1
3939 with :
4040 neovim : true
41- version : v0.11.0
41+ version : stable
4242
4343 - name : generate documentation
44- run : make documentation-ci
44+ uses : kdheepak/panvimdoc@main
45+ with :
46+ vimdoc : copy-python-path
47+ pandoc : README.md
48+ version : Neovim >= 0.7.0
49+ demojify : true
50+
51+ - name : generate tags
52+ run : |
53+ nvim --headless -c 'helptags doc' -c 'quit'
4554
46- - name : check docs diff
47- run : exit $(git status --porcelain doc | wc -l | tr -d " ")
55+ - name : push changes
56+ uses : stefanzweifel/git-auto-commit-action@v6
57+ with :
58+ commit_message : " docs(vimdoc): auto-generate vimdocs"
59+ commit_user_name : " github-actions[bot]"
60+ commit_user_email : " github-actions[bot]@users.noreply.github.com"
61+ commit_author : " github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
4862
4963 tests :
5064 needs :
5468 timeout-minutes : 1
5569 strategy :
5670 matrix :
57- neovim_version : [' v0.9.5', ' v0.10.1', ' v0.11.0' ]
71+ neovim_version : [" v0.7.2", "v0. 9.5", " v0.10.4", " v0.11.0" ]
5872
5973 steps :
6074 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change 11{
2- "diagnostics.globals" : [
3- " MiniTest"
4- ]
5- }
2+ "diagnostics.globals" : [" MiniTest" , " vim" ]
3+ }
Original file line number Diff line number Diff line change 1414deps :
1515 @mkdir -p deps
1616 git clone --depth 1 https://github.com/echasnovski/mini.nvim deps/mini.nvim
17+ git clone --depth 1 https://github.com/kdheepak/panvimdoc.git deps/panvimdoc
1718
1819# installs deps before running tests, useful for the CI.
1920test-ci : deps test
3031 stylua . -g ' *.lua' -g ' !deps/' -g ' !nightly/'
3132 luacheck plugin/ lua/
3233
34+ # LuaLS is more capable than luacheck (e.g. catch type errors)
3335luals-ci :
3436 rm -rf .ci/lua-ls/log
3537 lua-language-server --configpath .luarc.json --logpath .ci/lua-ls/log --check .
You can’t perform that action at this time.
0 commit comments