From d59228cced3e99edf0df2fd3d822e786b29d8e1d Mon Sep 17 00:00:00 2001 From: tris203 Date: Sun, 2 Jun 2024 13:00:03 +0100 Subject: [PATCH] feat: Introduce Lua type checking GitHub workflow This commit adds a new GitHub workflow for type checking the Lua codebase. The workflow is triggered on push and pull requests to the main branch. It utilizes the stevearc/nvim-typecheck-action@v2 action and is set to a warning level. --- .github/workflows/typecheck.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/typecheck.yml diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.yml new file mode 100644 index 0000000..c8aa34d --- /dev/null +++ b/.github/workflows/typecheck.yml @@ -0,0 +1,21 @@ +--- +name: lua_ls-typecheck + +on: + push: + branches: + - "main" + pull_request: + branches: + - "main" + +jobs: + build: + name: Type Check Code Base + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: stevearc/nvim-typecheck-action@v2 + with: + level: Warning