mirror of
https://github.com/0xrsydn/nix-hermes-agent.git
synced 2026-08-07 00:53:52 +00:00
ci: fix lint glob + format nix files
This commit is contained in:
parent
c3da68363c
commit
ba6c63e9bf
4 changed files with 113 additions and 58 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -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 .
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue