LunarVim/.github/workflows/lint.yaml
kylo252 48d1c38fa8
chore(plugins): bump version (#3248)
* ci: update workflows

* chore(plugins): bump version

* chore: update depdecated settings for comment.nvim

* chore(lsp): update skiplist

* fixup!: take 2 for comment.nvim
2022-10-15 18:32:11 +02:00

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"