e66b2594ca
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
30 lines
766 B
YAML
30 lines
766 B
YAML
name: Lint
|
|
on:
|
|
push:
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
jobs:
|
|
lua:
|
|
name: Lua
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- 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:
|
|
- uses: actions/checkout@v3
|
|
- 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
|