ci: scripts + format
This commit is contained in:
parent
f2e312f860
commit
8c8e49d75c
9 changed files with 1279 additions and 35 deletions
11
scripts/ci.sh
Executable file
11
scripts/ci.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
nix develop --command stylua --check .
|
||||
git ls-files '*.lua' | xargs nix develop --command selene --display-style quiet
|
||||
nix develop --command prettier --check .
|
||||
nix develop --command lua-language-server --check . --checklevel=Warning
|
||||
nix develop --command uvx ruff format --check .
|
||||
nix develop --command uvx ruff check .
|
||||
nix develop --command uvx ty check .
|
||||
nix develop --command uv run pytest tests/ -v
|
||||
Loading…
Add table
Add a link
Reference in a new issue