gluon/.github/workflows/lint.yml

30 lines
766 B
YAML
Raw Normal View History

name: Lint
on:
push:
pull_request:
types: [opened, synchronize, reopened]
jobs:
lua:
name: Lua
runs-on: ubuntu-latest
steps:
2021-08-10 19:06:33 +00:00
- uses: actions/checkout@v2
- name: Install Dependencies
run: sudo apt-get -y update && sudo apt-get -y 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:
2021-08-10 19:06:33 +00:00
- uses: actions/checkout@v2
- name: Install Dependencies
run: sudo apt-get -y update && sudo apt-get -y install shellcheck
- name: Install example site
run: ln -s ./docs/site-example ./site
- name: Lint shell code
run: make lint-sh