Skip to content
Snippets Groups Projects
Unverified Commit fabc9c1c authored by Martin Weinelt's avatar Martin Weinelt
Browse files

actions: add linter actions for lua and shell script

parent 78f4d0a3
No related branches found
No related tags found
No related merge requests found
name: Lint
on:
push:
pull_request:
types: [opened, synchronize, reopened]
jobs:
lua:
name: Lua
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install Dependencies
run: sudo apt install lua-check
- name: Install example site
run: ln -s ./docs/site-example ./site
- name: Lint Lua code
run: make lint-lua
sh:
name: Shell
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install Dependencies
run: sudo apt install shellcheck
- name: Install example site
run: ln -s ./docs/site-example ./site
- name: Lint shell code
run: make lint-sh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment