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.
lint-nix
1 parent a62f641 commit 1610d85Copy full SHA for 1610d85
.github/workflows/linters.yml
@@ -151,10 +151,13 @@ jobs:
151
sparse-checkout-cone-mode: false
152
- uses: cachix/install-nix-action@2126ae7fc54c9df00dd18f7f18754393182c73cd # v31.9.1
153
- name: Lint Nix files
154
+ id: lint-step
155
run: |
156
nix-shell -I nixpkgs=./tools/nix/pkgs.nix -p 'nixfmt-tree' --run '
157
treefmt --quiet --ci
- ' || git --no-pager diff --exit-code
158
+ '
159
+ - run: git --no-pager diff
160
+ if: ${{ failure() && steps.lint-step.conclusion == 'failure' }}
161
162
lint-py:
163
if: github.event.pull_request.draft == false
0 commit comments