8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
There was an error while loading. 8000 Please reload this page.
1 parent 5d5c848 commit f402b4eCopy full SHA for f402b4e
.github/workflows/linters.yml
@@ -151,10 +151,10 @@ jobs:
151
sparse-checkout-cone-mode: false
152
- uses: cachix/install-nix-action@7be5dee1421f63d07e71ce6e0a9f8a4b07c2a487 # v31.6.1
153
- name: Lint Nix files
154
- run: nix-shell -I nixpkgs=./tools/nix/pkgs.nix -p 'nixfmt-tree' --run 'treefmt --quiet --fail-on-change'
155
- - if: ${{ failure() }}
156
- name: Show diff
157
- run: git --no-pager diff
+ run: |
+ nix-shell -I nixpkgs=./tools/nix/pkgs.nix -p 'nixfmt-tree' --run '
+ treefmt --quiet --fail-on-change
+ ' || git --no-pager diff --exit-code
158
159
lint-py:
160
if: github.event.pull_request.draft == false
0 commit comments