mild enhancements of CI/CD#2924
Conversation
This reverts commit dfd2b88.
There was a problem hiding this comment.
Code Review
This pull request introduces a .gitattributes file to mark generated Dart files as linguist-generated, which helps in managing how these files are displayed in diffs. The review feedback suggests adding * text=auto to the file to ensure consistent line-ending handling across different operating systems.
| *.g.dart linguist-generated=true | ||
| *.freezed.dart linguist-generated=true |
There was a problem hiding this comment.
For a cross-platform project, it is a best practice to define the default line-ending behavior in .gitattributes. Adding * text=auto ensures that Git handles line endings consistently across different operating systems (Windows, macOS, Linux), which prevents 'phantom' diffs and potential issues in CI/CD pipelines caused by CRLF/LF mismatches.
* text=auto
*.g.dart linguist-generated=true
*.freezed.dart linguist-generated=true
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2924 +/- ##
=======================================
Coverage 94.13% 94.13%
=======================================
Files 52 52
Lines 1483 1483
=======================================
Hits 1396 1396
Misses 87 87
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
No description provided.