Skip to content

Commit cf6e05b

Browse files
Add CRLF-stripped hash diagnostic to workflow
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 82ef206 commit cf6e05b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/determinism.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,14 @@ jobs:
3131
run: |
3232
echo "File count:"
3333
find test-data/Server -type f | wc -l
34-
echo "Sample file hash and size:"
34+
echo "Sample file raw:"
3535
sha256sum test-data/Server/AI/AI_Anos.xml || true
3636
wc -c test-data/Server/AI/AI_Anos.xml || true
37+
echo "Sample file after CRLF strip:"
38+
tr -d '\r' < test-data/Server/AI/AI_Anos.xml | sha256sum
39+
tr -d '\r' < test-data/Server/AI/AI_Anos.xml | wc -c
40+
echo "All files combined hash after CRLF strip:"
41+
find test-data/Server -type f | sort | while read f; do tr -d '\r' < "$f"; done | sha256sum
3742
3843
- name: Build
3944
run: dotnet build MS2Tools.sln -c Release

0 commit comments

Comments
 (0)