The Gitea server currently corrupts clone/fetch pack responses with
"protocol error: bad pack header" (reproducible with a plain git clone),
which makes actions/checkout fail before any of our steps run. Download
the commit archive via the API instead (with a token, falling back to
anonymous for public repos) and extract it into the workspace.
Add .gitea/workflows/tests.yaml per the Gitea Actions quick start:
check out the repo, install Lua 5.4, then run the offline suite
(lua5.4 Amibis/Tests/run.lua). A failed test fails the job.
Document the workflow in README, AGENTS.md, and the tests README.