Skip to content

Commit 0ac5525

Browse files
committed
Fix CI: install alejandra and deadnix before pre-commit
The alejandra-system and deadnix hooks expect the binaries on PATH. Install them via nix profile before running pre-commit. Assisted-by: Claude Code Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
1 parent 4f34a15 commit 0ac5525

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515
- uses: cachix/install-nix-action@v31
16+
- run: nix profile install nixpkgs#alejandra nixpkgs#deadnix
1617
- uses: pre-commit/action@v3.0.1
1718

1819
nix-build:

0 commit comments

Comments
 (0)