All checks were successful
build / build-test (push) Successful in 5m8s
17 lines
537 B
YAML
17 lines
537 B
YAML
name: build
|
|
on: [push, workflow_dispatch]
|
|
|
|
jobs:
|
|
build-test:
|
|
runs-on: docker
|
|
container: debian:bookworm
|
|
timeout-minutes: 10
|
|
steps:
|
|
- name: Install git + lua (bookworm base image ships neither)
|
|
run: apt-get update -qq && apt-get install -y -qq git ca-certificates lua5.4
|
|
|
|
- name: Checkout
|
|
run: git clone --depth 1 ${{ github.server_url }}/${{ github.repository }}.git .
|
|
|
|
- name: Lua syntax check
|
|
run: find . -name '*.lua' -not -path './.git/*' -print0 | xargs -0 -n1 luac5.4 -p
|