From 551e70f3bb12487f2f722af511dc2976998b39bb Mon Sep 17 00:00:00 2001 From: 0penBrain <48731257+0penBrain@users.noreply.github.com> Date: Thu, 16 Feb 2023 11:14:45 +0100 Subject: [PATCH] CI: improve reporting for line endings check --- .github/workflows/sub_lint.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sub_lint.yml b/.github/workflows/sub_lint.yml index a026099df4..d16773893f 100644 --- a/.github/workflows/sub_lint.yml +++ b/.github/workflows/sub_lint.yml @@ -214,7 +214,8 @@ jobs: # Check for DOS or MAC line endings if [[ $(file -b $file) =~ "with CR" ]] then - echo "::warning file=$file::File has non Unix line endings" | tee -a ${{ env.logdir }}lineendings.log + echo "::warning file=$file,title=$file::File has non Unix line endings" + echo "$file has non Unix line endings" >> ${{ env.logdir }}lineendings.log ((lineendings=lineendings+1)) fi done