We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35ed97a commit 2d842fbCopy full SHA for 2d842fb
.github/workflows/test.yml
@@ -19,11 +19,25 @@ jobs:
19
20
- uses: leafo/gh-actions-luarocks@v4.0.0
21
22
- - name: build
+ - name: make_dev
23
run: |
24
- luarocks install busted
+ make dev
25
luarocks make
26
27
+ - name: check_generation
28
+ run: |
29
+ cp inspect.lua inspect.lua.bak
30
+ make gen
31
+ if ! cmp --silent inspect.lua inspect.lua.bak ; then
32
+ echo "The generated inspect.lua is different from the one in the repo." \
33
+ "Please make your modifications in inspect.tl, regenerate with 'make dev && make'," \
34
+ "and commit both inspect.tl and inspect.lua in your Pull Request"
35
+ exit 1
36
+ fi
37
+
38
+ - name: luacheck
39
+ run: luacheck inspect.lua
40
41
- name: test
42
43
busted -o utfTerminal
0 commit comments