Commit 6cda3b5
ci: move from dotnet-format tool to .NET SDK command (#4918)
* ci: remove installing global tool dotnet-format
* ci: Remove AttributeReaderTests.cs exclusion from dotnet format
The exclusion was added as a workaround because dotnet-format was
incorrectly deleting assertions in that file. This issue has since
been resolved so the exclusion is no longer necessary.
Co-Authored-By: Claude <noreply@anthropic.com>
* Format code
* Revert "Format code"
This reverts commit bba983f.
* Revert "ci: Remove AttributeReaderTests.cs exclusion from dotnet format"
This reverts commit bbcefcb.
* ci: Add JSON format report and upload as artifact
Generate a dotnet format report via --report and upload it as a CI
artifact so formatting issues can be inspected without re-running the
job locally.
Refs #4918
Co-Authored-By: Claude <noreply@anthropic.com>
* ci: Move --report before --exclude arguments
Refs #4918
Co-Authored-By: Claude <noreply@anthropic.com>
* ci: Consolidate --exclude arguments into a single flag
Refs #4918
Co-Authored-By: Claude <noreply@anthropic.com>
* ci: Exclude format report directory from git tracking
Write a .gitignore into the report directory after uploading the
artifact so the generated JSON report is not picked up as a git
change by the subsequent commit step.
Refs #4918
Co-Authored-By: Claude <noreply@anthropic.com>
* ci: Only write .gitignore if report directory exists
Avoid unconditionally creating the report directory — only write the
.gitignore when dotnet format actually produced the directory.
Refs #4918
Co-Authored-By: Claude <noreply@anthropic.com>
* ci: use actions/upload-artifact@v7 direct file upload (unzipped)
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>1 parent 2079493 commit 6cda3b5
1 file changed
+15
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | 31 | | |
35 | 32 | | |
36 | 33 | | |
37 | 34 | | |
38 | 35 | | |
39 | 36 | | |
40 | 37 | | |
41 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
42 | 53 | | |
43 | 54 | | |
44 | 55 | | |
| |||
0 commit comments