mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Fix #292: Add parser links to README.md
This commit is contained in:
parent
5d97cc5e09
commit
7c9ffe9e19
4 changed files with 151 additions and 58 deletions
25
.github/workflows/update-readme.yml
vendored
Normal file
25
.github/workflows/update-readme.yml
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
name: Check README parser info
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
luacheck:
|
||||
name: Check README parser info
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: Prepare
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo add-apt-repository universe
|
||||
wget https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage
|
||||
chmod u+x nvim.appimage
|
||||
mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start
|
||||
ln -s $(pwd) ~/.local/share/nvim/site/pack/nvim-treesitter/start
|
||||
|
||||
- name: Compile parsers
|
||||
run: ./nvim.appimage --headless -c "TSInstallSync all" -c "q"
|
||||
|
||||
- name: Check README
|
||||
run: ./nvim.appimage --headless -c "luafile ./scripts/update-readme.lua" -c "q"
|
||||
Loading…
Add table
Add a link
Reference in a new issue