From 008d86258fec95607ec6ba74c6be0559b7f1ca5c Mon Sep 17 00:00:00 2001 From: Brian Ryall Date: Thu, 18 Jul 2024 11:30:55 -0400 Subject: [PATCH] ci: add type-check --- .github/workflows/tests.yml | 2 +- .github/workflows/type-check.yml | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/type-check.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 59d4fc3..32fd026 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,5 +1,5 @@ --- -name: Run tests +name: tests on: pull_request: ~ push: diff --git a/.github/workflows/type-check.yml b/.github/workflows/type-check.yml new file mode 100644 index 0000000..7834fdc --- /dev/null +++ b/.github/workflows/type-check.yml @@ -0,0 +1,19 @@ +--- +name: Type Check +on: + pull_request: ~ + push: + branches: + - main + +jobs: + build: + name: Type Check Code Base + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v3 + + - name: Type Check Code Base + uses: mrcjkb/lua-typecheck-action@v1