ci: scripts

This commit is contained in:
Barrett Ruth 2026-03-04 14:21:12 -05:00
parent 098f822ec2
commit 86a3523f2d
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
4 changed files with 20 additions and 1 deletions

10
scripts/ci.sh Executable file
View file

@ -0,0 +1,10 @@
#!/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 fmt
git diff --exit-code -- '*.nix'
nix develop --command lua-language-server --check . --checklevel=Warning
nix develop --command busted