Skip to content

Commit

Permalink
test: add type checking in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
delphinus committed Jul 28, 2023
1 parent 00d8bff commit 2101716
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,8 @@ jobs:
MINIMAL_LUA=${TEST_DIR}minimal.lua
NVIM=$(perl -e '$_ = $ENV{EXE}; s,\\,/,g; print')
$NVIM --headless --clean -u $MINIMAL_LUA -c "PlenaryBustedDirectory $TEST_DIR {minimal_init = '$MINIMAL_LUA'}"
- name: Type Check Code Base
uses: mrcjkb/[email protected]
with:
checkLevel: Hint
configpath: .luarc.json
7 changes: 7 additions & 0 deletions .luarc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"diagnostics": {
"globals": [
"vim"
]
}
}

0 comments on commit 2101716

Please sign in to comment.