From b10b674c1489535bb986180e189289542d141504 Mon Sep 17 00:00:00 2001 From: Wesley Ray Date: Wed, 11 Jun 2025 23:39:42 -0400 Subject: [PATCH] initial CI workflow, starting with a lua linter for simplicity --- .gitea/workflows/ci.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 .gitea/workflows/ci.yaml diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100755 index 0000000..ae21390 --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,30 @@ +name: Skyweave CI Rituals + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + lint-lua-code: + name: Rite of Static Scrutiny (Luacheck) + runs-on: ubuntu-latest + + container: + image: alpine:latest + + steps: + - name: 1. Install Dependencies (luacheck) + run: | + echo "Sanctifying container with luacheck..." + apk add --no-cache lua5.1-luacheck + + - name: 2. Checkout Repository Code + # This standard action checks out your repository's code into the container. + uses: actions/checkout@v4 + + - name: 3. Run Luacheck Scrutiny + run: | + echo "Scanning Lua scripture for syntactical heresy..." + luacheck --std lua51 . \ No newline at end of file