Skip to content

Commit

Permalink
chore: Update Luacheck CI action and check for minimum Luua version
Browse files Browse the repository at this point in the history
See related commits in
Omikhleia/markdown.sile#101

Co-authored-by: Caleb Maclennan <[email protected]>
  • Loading branch information
2 people authored and Didier Willis committed Dec 8, 2023
1 parent 4d45732 commit 7e00578
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/luacheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Luacheck
uses: lunarmodules/luacheck@v0
uses: lunarmodules/luacheck@v1
11 changes: 1 addition & 10 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
std = "max"
std = "min+sile"
include_files = {
"**/*.lua",
"sile.in",
Expand All @@ -19,15 +19,6 @@ exclude_files = {
files["**/*_spec.lua"] = {
std = "+busted"
}
globals = {
"SILE",
"SU",
"luautf8",
"pl",
"fluent",
"SYSTEM_SILE_PATH",
"SHARED_LIB_EXT"
}
max_line_length = false
ignore = {
"581" -- operator order warning doesn't account for custom table metamethods
Expand Down

0 comments on commit 7e00578

Please sign in to comment.