mirror of
https://github.com/teverse/teverse
synced 2025-11-06 10:24:45 +01:00
Compare commits
8 Commits
1d42fdff0c
...
ed5dae7849
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ed5dae7849 | ||
|
|
dff83bc1e7 | ||
|
|
4fa5b82d39 | ||
|
|
767017edc5 | ||
|
|
8e8871a074 | ||
|
|
4c9e746bdc | ||
|
|
8d528248ee | ||
|
|
05fc03c2c1 |
22
.github/workflows/lua.yml
vendored
Normal file
22
.github/workflows/lua.yml
vendored
Normal 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
1
bad-test.lua
Normal file
@ -0,0 +1 @@
|
||||
br0ken lua()
|
||||
Loading…
x
Reference in New Issue
Block a user