Skip to content

Commit

Permalink
test(ci): lint rockspecs as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Sep 7, 2023
1 parent 0bc692f commit 5b4c9b7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .busted
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
return {
default = {
verbose = true,
output = "gtest",
},
}
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@ jobs:
- name: lint
run: |
for spec in $(find . -type f -name "*.rockspec"); do
(luarocks lint $spec && echo "$spec [OK]") || (echo "$spec [NOK]"; exit 1);
done
luacheck .

0 comments on commit 5b4c9b7

Please sign in to comment.