Skip to content

feat!: Phoenix and Recrafted support through libcompat #61

feat!: Phoenix and Recrafted support through libcompat

feat!: Phoenix and Recrafted support through libcompat #61

Workflow file for this run

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