LunarVim/.github/workflows/lint.yaml

34 lines
645 B
YAML
Raw Normal View History

2021-07-19 18:22:49 +02:00
name: lint
2021-07-19 18:22:49 +02:00
on:
pull_request:
branches:
- "rolling"
2021-07-19 18:22:49 +02:00
jobs:
lua-linter:
name: "Linting with luacheck"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
2021-07-19 18:22:49 +02:00
- uses: leafo/gh-actions-lua@v8
- uses: leafo/gh-actions-luarocks@v4
- name: Use luacheck
run: luarocks install luacheck
2021-07-19 18:22:49 +02:00
- name: Run luacheck
run: make lint-lua
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
2021-07-19 18:22:49 +02:00
steps:
- uses: actions/checkout@v2
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
scandir: "./utils"
ignore: "bin"