From 446ff34e113ed0ecbd5286577367c375206b694b Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Fri, 8 Aug 2025 19:15:38 +0200 Subject: [PATCH] ci/eval/compare: reorder step summary Move "Packages" up, because it's much shorter and easier to scroll past. This way both Packages and Performance are visible immediately. (cherry picked from commit f05895fb3cf7949b2412a1b2f3a99e7c5b962366) --- ci/eval/compare/default.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/ci/eval/compare/default.nix b/ci/eval/compare/default.nix index 81eebcc9adb1..9060d357d662 100644 --- a/ci/eval/compare/default.nix +++ b/ci/eval/compare/default.nix @@ -146,6 +146,12 @@ runCommand "compare" cp ${changed-paths} $out/changed-paths.json + { + echo + echo "# Packages" + echo + jq -r -f ${./generate-step-summary.jq} < ${changed-paths} + } >> $out/step-summary.md if jq -e '(.attrdiff.added | length == 0) and (.attrdiff.removed | length == 0)' "${changed-paths}" > /dev/null; then # Chunks have changed between revisions @@ -175,12 +181,5 @@ runCommand "compare" } >> $out/step-summary.md fi - { - echo - echo "# Packages" - echo - jq -r -f ${./generate-step-summary.jq} < ${changed-paths} - } >> $out/step-summary.md - cp "$maintainersPath" "$out/maintainers.json" ''