-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
55ea1ab
commit e049cf3
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# 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 | ||
|
||
```yaml | ||
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' | ||
``` |