Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
if: runner.os != 'Windows'
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4
with:
global-json-file: src/sentry-dotnet/global.json
global-json-file: global.json

- name: Install Android dotnet workflow
run: dotnet workload install android --temp-dir "$RUNNER_TEMP"
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/format-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ jobs:
-o -name "*.m"
| xargs clang-format -i -style=file

- name: Install .NET SDK
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4
with:
global-json-file: global.json

- name: Restore .NET Workload
run: dotnet workload restore

- name: Format C# Code Whitespace
run: dotnet format whitespace Sentry.Unity.sln --exclude src/sentry-dotnet --verbosity diag

Expand Down
3 changes: 3 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"sdk": {
"version": "9.0.304",
Copy link
Member

@Flash0ver Flash0ver Sep 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"workloadVersion": "9.0.304",
"rollForward": "disable",
"allowPrerelease": false
}
}
Loading