Skip to content

Commit c08036d

Browse files
committed
tools: do not download unused packages when linting Nix files
1 parent 224fda9 commit c08036d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/linters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ jobs:
154154
run: |
155155
nix-shell -I nixpkgs=./tools/nix/pkgs.nix -p 'nixfmt-tree' --run '
156156
treefmt --quiet --fail-on-change
157-
' || git --no-pager diff --exit-code
157+
' /dev/null || git --no-pager diff --exit-code
158158
159159
lint-py:
160160
if: github.event.pull_request.draft == false

0 commit comments

Comments
 (0)