Unverified Commit f1e64b53 authored by Wolfgang Walther's avatar Wolfgang Walther Committed by GitHub
Browse files

ci/keep-sorted: friendlier error message (#394131)

parents 1b847fdc c275acee
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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."'