LunarVim/.github/workflows/lint.yaml
kylo252 3715ae645d
refactor: replace deprecated API calls (#4568)
* chore: bump plugins version

* refactor: replace deprecated API calls

* chore(lsp): update skipped servers list

* ci: update workflows

* ci: update release names in installer script

* ci: use action-setup-vim
2024-05-28 13:46:11 +02:00

38 lines
735 B
YAML

name: lint
on:
pull_request:
branches:
- "rolling"
paths:
- 'lua/**'
- 'snapshots/**'
- 'tests/**'
- 'utils/**'
jobs:
lua-linter:
name: "Linting with luacheck"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: leafo/gh-actions-lua@v8
- uses: leafo/gh-actions-luarocks@v4
- name: Use luacheck
run: luarocks install luacheck
- name: Run luacheck
run: make lint-lua
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
scandir: "./utils"
ignore: "bin"