Skip to content

fix: "nvim_err_writeln must not be called" when JSON parsing fails #81

fix: "nvim_err_writeln must not be called" when JSON parsing fails

fix: "nvim_err_writeln must not be called" when JSON parsing fails #81

Workflow file for this run

name: "Lint and test"
on:
pull_request:
push:
branches: [main]
jobs:
stylua:
name: Check codestyle
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: JohnnyMorganz/stylua-action@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --color always --check .
version: v0.15.1
selene:
name: Lint
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: NTBBloodbath/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --color always ./lua
version: 0.24.0
test:
name: Run tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
path: cspell.nvim
- uses: actions/checkout@v3
with:
repository: nvim-lua/plenary.nvim
path: cspell.nvim/.tests/site/pack/deps/start/plenary.nvim
- uses: actions/checkout@v3
with:
repository: nvimtools/none-ls.nvim
path: cspell.nvim/.tests/site/pack/deps/start/null-ls.nvim
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
- run: ./tests/run.sh
working-directory: cspell.nvim
timeout-minutes: 1