mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 10:35:08 +02:00
3715ae645d
* 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
38 lines
735 B
YAML
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"
|