mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
ci/keep-sorted: friendlier error message
This commit is contained in:
parent
4534205b61
commit
c275aceed1
1 changed files with 2 additions and 2 deletions
4
.github/workflows/keep-sorted.yml
vendored
4
.github/workflows/keep-sorted.yml
vendored
|
@ -33,8 +33,8 @@ jobs:
|
|||
nix_path: nixpkgs=${{ env.url }}
|
||||
|
||||
- name: Install keep-sorted
|
||||
run: "nix-env -f '<nixpkgs>' -iAP keep-sorted"
|
||||
run: "nix-env -f '<nixpkgs>' -iAP keep-sorted jq"
|
||||
|
||||
- name: Check that Nix files are sorted
|
||||
run: |
|
||||
git ls-files | xargs keep-sorted --mode lint
|
||||
git ls-files | xargs keep-sorted --mode lint | jq --raw-output '.[] | "Please make sure any new entries in \(.path) are sorted alphabetically."'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue