16 lines
457 B
YAML
16 lines
457 B
YAML
name: build
|
|
on: [push, workflow_dispatch]
|
|
|
|
jobs:
|
|
build-test:
|
|
runs-on: docker
|
|
container: debian:bookworm
|
|
timeout-minutes: 10
|
|
steps:
|
|
- name: Checkout
|
|
run: git clone --depth 1 ${{ github.server_url }}/${{ github.repository }}.git .
|
|
|
|
- name: Lua syntax check
|
|
run: |
|
|
apt-get update -qq && apt-get install -y -qq lua5.4
|
|
find . -name '*.lua' -not -path './.git/*' -print0 | xargs -0 -n1 luac5.4 -p
|