Compare commits

...

8 Commits

Author SHA1 Message Date
teverse ed5dae7849
Create bad-test.lua 2020-05-28 00:47:24 +01:00
teverse dff83bc1e7
Update lua.yml 2020-05-28 00:43:40 +01:00
teverse 4fa5b82d39
Update lua.yml 2020-05-28 00:40:05 +01:00
teverse 767017edc5
Update lua.yml 2020-05-28 00:34:51 +01:00
teverse 8e8871a074
Update lua.yml 2020-05-28 00:30:31 +01:00
teverse 4c9e746bdc
Update lua.yml 2020-05-28 00:29:26 +01:00
teverse 8d528248ee
Update lua.yml 2020-05-28 00:15:55 +01:00
teverse 05fc03c2c1
Create lua.yml 2020-05-28 00:09:04 +01:00
2 changed files with 23 additions and 0 deletions

22
.github/workflows/lua.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: Loadstring
# this could be modified to be more helpful when there's a headless teverse client
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
loadstring:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install LuaJIT
run: sudo apt-get install luajit -y
- name: Load all Lua files
run: |
echo ${{env.GITHUB_WORKSPACE}}
find ${{env.GITHUB_WORKSPACE}} -type f -name '*.lua' -exec echo "{}" \; -exec luajit -e "local loaded,res = loadfile('{}') if not loaded then print('Fail', res) os.execute('exit 1') end" \;

1
bad-test.lua Normal file
View File

@ -0,0 +1 @@
br0ken lua()