mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-27 02:43:58 +00:00
feat: Auto-format Nix files using Alejandra
This commit is contained in:
parent
f4aefd48be
commit
fda244e643
2 changed files with 6 additions and 1 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -143,4 +143,4 @@ jobs:
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
nix_path: nixpkgs=channel:nixos-22.11
|
nix_path: nixpkgs=channel:nixos-22.11
|
||||||
- run: nix-shell --packages cacert git nodejs pre-commit --pure --run 'pre-commit run --all-files'
|
- run: nix-shell --packages cacert git nix nodejs pre-commit --pure --run 'pre-commit run --all-files'
|
||||||
|
|
|
@ -2,6 +2,11 @@
|
||||||
# Please run `pre-commit run --all-files` when adding or changing entries.
|
# Please run `pre-commit run --all-files` when adding or changing entries.
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
|
- repo: https://github.com/kamadorueda/alejandra
|
||||||
|
rev: bb7f2ad3f176aa8e9e2944a10061f7989c8fef17 # frozen: 1.3.0
|
||||||
|
hooks:
|
||||||
|
- id: alejandra
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||||
rev: 6f3cb139ef36133b6f903b97facc57b07cef57c9 # frozen: v3.0.0-alpha.6
|
rev: 6f3cb139ef36133b6f903b97facc57b07cef57c9 # frozen: v3.0.0-alpha.6
|
||||||
hooks:
|
hooks:
|
||||||
|
|
Loading…
Reference in a new issue