mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 18:45:08 +02:00
48d1c38fa8
* ci: update workflows * chore(plugins): bump version * chore: update depdecated settings for comment.nvim * chore(lsp): update skiplist * fixup!: take 2 for comment.nvim
38 lines
734 B
YAML
38 lines
734 B
YAML
name: lint
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- "rolling"
|
|
paths:
|
|
- 'lua/**'
|
|
- 'snapshots/**'
|
|
- 'tests/**'
|
|
- 'utils/**'
|
|
|
|
jobs:
|
|
lua-linter:
|
|
name: "Linting with luacheck"
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- 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@v3
|
|
- name: Run ShellCheck
|
|
uses: ludeeus/action-shellcheck@master
|
|
with:
|
|
scandir: "./utils"
|
|
ignore: "bin"
|