Skip to content
play

GitHub Action

WoW Lua Lint

v1.0.1 Latest version

WoW Lua Lint

play

WoW Lua Lint

Check wow addon lua files for syntax issues

Installation

Copy and paste the following snippet into your .yml file.

              

- name: WoW Lua Lint

uses: davidcraig/[email protected]

Learn more about this action in davidcraig/action-wow-lint

Choose a version

WoW Lua Lint

This action will lint all lua files specified for a given repository and check for any syntax issues (under the hood it uses luac -p path/to/files)

Usage

The following shows an example of how to use this action in a workflow.

.github/workflows/lint.yml

name: Lint
on: [push]

jobs:
  lint:
    name: Lint
    runs-on: ubuntu-latest
    steps:
      - name: checkout
        uses: actions/checkout@v2
        with:
          repository: 'ps-wow/action-test-repo'
      - name: wow-lint
        uses: davidcraig/[email protected]
        with:
            path-to-files: 'src/test.lua'