Skip to content

docs(readme): add limitations section #19

docs(readme): add limitations section

docs(readme): add limitations section #19

Workflow file for this run

name: Generate rockspec
on:
push:
branches: ["main"]
schedule:
# Runs every 24 hours, after the rocks-binaries job
- cron: "0/45 */24 * * *"
workflow_dispatch:
# Prevent concurrent auto-commits
concurrency:
group: auto-commit
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-20.04
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Install C/C++ Compiler
uses: rlalik/setup-cpp-compiler@master
with:
compiler: clang-latest
- name: Install Lua
uses: leso-kn/gh-actions-lua@master
with:
luaVersion: "5.1"
- name: Install Luarocks
uses: hishamhm/gh-actions-luarocks@master
- name: Get tree-sitter-parsers.json
uses: actions/checkout@v4
with:
repository: nvim-neorocks/nurr
sparse-checkout: |
tree-sitter-parsers.json
path: nurr
- name: Install Neovim
uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: nightly
- name: Generate rockspec
run: |
mv nurr/tree-sitter-parsers.json .
./gen-rockspec.lua
- name: Test install
run: |
luarocks --local make ./rocks-treesitter.nvim-scm-1.rockspec --server='https://nvim-neorocks.github.io/rocks-binaries/'
- name: Install `dkjson` Package
run: |
luarocks --verbose --local --lua-version=5.1 install dkjson
- name: Upload to luarocks
run: |
luarocks --verbose upload ./rocks-treesitter.nvim-scm-1.rockspec --api-key "${{ secrets.LUAROCKS_API_KEY }}" --force
- name: Commit generated rockspec
uses: stefanzweifel/git-auto-commit-action@v5
if: always()
with:
commit_message: "chore(deps): generate rockspec"
file_pattern: "*.rockspec"