fix(ci): switch typecheck action to stevearc/nvim-typecheck-action (#26)

Problem: mrcjkb/lua-typecheck-action runs lua-language-server in a bare
nix sandbox without neovim installed, causing 71 type errors for all
vim.* and uv.* types. LuaLS 3.17.x also introduced stricter type
checking that flags uv.aliases.fs_types mismatches not present in
3.16.4. The .luarc.json workspace.library entries conflicted with the
action's auto-appended luvit-meta, producing duplicate uv type unions.

Solution: switch to stevearc/nvim-typecheck-action@v2 (matching
upstream), pin LuaLS to 3.16.4, convert .luarc.json to nested format
without workspace.library (let the action provide VIMRUNTIME and
luvit-meta), and add .direnv/* to selene.toml exclude for local use.
This commit is contained in:
Barrett Ruth 2026-02-22 16:14:10 -05:00 committed by GitHub
parent b4ab166c39
commit 7d410acaf1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 17 additions and 11 deletions

View file

@ -1,4 +1,5 @@
std = 'vim'
exclude = [".direnv/*"]
[lints]
mixed_table = 'allow'