feat!: Phoenix and Recrafted support through libcompat #61
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linting | |
on: | |
push: | |
paths: ["**.lua", ".github/workflows/lint.yaml"] | |
pull_request: | |
paths: ["**.lua", ".github/workflows/lint.yaml"] | |
workflow_dispatch: | |
jobs: | |
lint-selene: | |
name: Lint Lua with Selene | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- uses: NTBBloodbath/selene-action@v1.0.0 | |
with: | |
# Github secret token | |
token: ${{ secrets.GITHUB_TOKEN }} | |
# selene arguments | |
args: . --config .selene.toml | |
# selene version | |
version: 0.23.1 | |
# Multiple linters never hurt :) | |
lint-illuaminate: | |
name: Lint Lua with Illuaminate | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Lint Lua code | |
run: | | |
test -d bin || mkdir bin | |
test -f bin/illuaminate || wget -q -Obin/illuaminate https://squiddev.cc/illuaminate/linux-x86-64/illuaminate | |
chmod +x bin/illuaminate | |
bin/illuaminate lint |