Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ca4ebed

Browse filesBrowse files
committed
tools: use ad-hoc flag to lint Nix files
Here's what `treefmt --help` documents: `--ci`: Runs `treefmt` in a CI mode, enabling `--no-cache`, `--fail-on-change` and adjusting some other settings best suited to a CI use case. PR-URL: #61405 Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 828feb2 commit ca4ebed
Copy full SHA for ca4ebed

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/linters.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/linters.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
- name: Lint Nix files
154154
run: |
155155
nix-shell -I nixpkgs=./tools/nix/pkgs.nix -p 'nixfmt-tree' --run '
156-
treefmt --quiet --fail-on-change
156+
treefmt --quiet --ci
157157
' || git --no-pager diff --exit-code
158158
159159
lint-py:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.