Add luacheck and make dissector compilent

This commit is contained in:
QuantumEntangledAndy authored and Andrew committed 2021-08-31 20:47:34 +07:00
1 parent ea4de74e8d
commit 4b8d16d028
2 files changed
+237 -237

No files matched your search

+10
View File
@@ -41,3 +41,13 @@ jobs:
- name: rustfmt
run: |
cargo +nightly fmt --all -- --check
check_lua:
name: Luacheck
runs-on: ubuntu-latest
steps:
- name: Run luacheck
uses: nebularg/actions-luacheck@v1
with:
files: 'dissector/baichuan.lua'
args: --globals Dissector,Proto,ProtoField,base,ByteArray,DESEGMENT_ONE_MORE_SEGMENT,DissectorTable