From 65809f6edf775fcd93af5eba64a22c5fa2cf2422 Mon Sep 17 00:00:00 2001 From: Cyano Hao Date: Sun, 31 Mar 2024 08:27:17 +0800 Subject: [PATCH] add teal--lua consistency check (#357) --- .github/workflows/unit.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 74a8d008..a4d82305 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -30,3 +30,27 @@ jobs: run: | export QT_ASSUME_STDERR_HAS_CONSOLE=1 xmake r test-escape + + teal_lua_consistency: + name: Teal–Lua consistency + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - uses: ConorMacBride/install-package@v1 + with: + apt: luarocks + + - name: Install Teal + run: | + sudo luarocks install tl + + - name: Build + run: | + ./addon/gen.sh + + - name: Check + run: | + git diff --exit-code