ci: scripts + format

This commit is contained in:
Barrett Ruth 2026-03-04 13:51:56 -05:00
parent f2e312f860
commit 8c8e49d75c
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
9 changed files with 1279 additions and 35 deletions

11
scripts/ci.sh Executable file
View 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