Skip to content

ci: move from dotnet-format tool to .NET SDK command#4918

Draft
Flash0ver wants to merge 12 commits intomainfrom
ci/replace-nuget-dotnet-format
Draft

ci: move from dotnet-format tool to .NET SDK command#4918
Flash0ver wants to merge 12 commits intomainfrom
ci/replace-nuget-dotnet-format

Conversation

@Flash0ver
Copy link
Member

@Flash0ver Flash0ver commented Feb 12, 2026

Summary

Remove dotnet-format global tool as it is now included in the .NET SDK

Remarks

dotnet-format has been marked deprecated on NuGet.org.
It is included as a CLI command since the the .NET 6.0 SDK.

TODOs

@Flash0ver Flash0ver self-assigned this Feb 12, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 12, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


Fixes 🐛

  • fix: Log Warning instead of Error when ratelimited by bitsandfoxes in #4927

Dependencies ⬆️

Deps

  • chore(deps): update Java SDK to v8.33.0 by github-actions in #4933
  • chore(deps): update CLI to v3.2.0 by github-actions in #4805
    • NOTE: Sentry CLI v3 removed support for the legacy API key authentication method. Sentry CLI now only supports authenticating with Auth Tokens. If you are using API key authentication via SentryApiKey, you need to generate an Auth Token and use SentryAuthToken, instead.
  • chore(deps): update Cocoa SDK to v9.4.1 by github-actions in #4928
  • chore(deps): update Native SDK to v0.12.8 by github-actions in #4929
  • Apps built using the Sentry SDK for .NET must now target iOS version 15 or higher. Previously only version 13 or higher was required. (#4781) by github-actions in #4781
  • Bump Cocoa SDK from v8.57.3 to v9.2.0 (#4781) by github-actions in #4781
  • chore(deps): update Native SDK to v0.12.7 by github-actions in #4920

Other

  • ci: move from dotnet-format tool to .NET SDK command by Flash0ver in #4918
  • test(blazor): Add Playwright E2E tests for navigation breadcrumbs by bruno-garcia in #4908
  • test(android): Use volatile to produce SIGSEGV in native crash test by jpnurmi in #4919

🤖 This preview updates automatically when you update the PR.

@codecov
Copy link

codecov bot commented Feb 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.89%. Comparing base (c13180b) to head (564e66f).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4918      +/-   ##
==========================================
+ Coverage   73.88%   73.89%   +0.01%     
==========================================
  Files         496      496              
  Lines       17951    17951              
  Branches     3516     3516              
==========================================
+ Hits        13263    13265       +2     
+ Misses       3826     3825       -1     
+ Partials      862      861       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Flash0ver and others added 11 commits February 13, 2026 12:02
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>
This reverts commit bba983f.
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>
Refs #4918
Co-Authored-By: Claude <noreply@anthropic.com>
Refs #4918
Co-Authored-By: Claude <noreply@anthropic.com>
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>
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants