82826ef661
* refactor: moved loading to new module * refactor: check_single_separator * refactor: simplified separator fixing * refactor: tests/ -> lua/tests/ * refactor: moved to nvim_err_writeln for errors * feat: moved config parsing to config.lua * feat: get config directly from config module * feat: added load_all function * tests: config parsing tests * added assert to luacheck globals
22 lines
371 B
YAML
22 lines
371 B
YAML
name: Linting
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
name: Luacheck
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install linter
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install luarocks
|
|
sudo luarocks install luacheck
|
|
- name: Lint
|
|
run: make lint
|