ci: fix lint glob + format nix files

This commit is contained in:
Ciphercat 2026-03-18 02:24:18 +00:00
commit ba6c63e9bf
4 changed files with 113 additions and 58 deletions

View file

@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v13
- name: Check formatting (nixfmt)
run: nix run nixpkgs#nixfmt-rfc-style -- --check *.nix docs/*.nix tests/*.nix
run: find . -name '*.nix' -not -path './_*' | xargs nix run nixpkgs#nixfmt-rfc-style -- --check
- name: Lint (statix)
run: nix run nixpkgs#statix -- check .