Skip to content

Commit

Permalink
docs: Update GitHub Action examples in README for v1 (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcloran committed Apr 12, 2023
1 parent fcbdeac commit 0cef17d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Luacheck linter
uses: lunarmodules/luacheck@v0
uses: lunarmodules/luacheck@v1
```

By default the GH Action is configured to run `luacheck .`, but you can also pass it your own `args` to replace the default input of `.`.

```yaml
- name: Luacheck linter
uses: lunarmodules/luacheck@v0
uses: lunarmodules/luacheck@v1
with:
args: myfile.lua
```
Expand Down

0 comments on commit 0cef17d

Please sign in to comment.