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
16 changes: 6 additions & 10 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,15 @@
"version": "0.0.37",
"commands": [
"CodeFileSanity"
]
],
"rollForward": false
},
"jetbrains.resharper.globaltools": {
"version": "2023.3.3",
"version": "2025.2.3",
"commands": [
"jb"
]
},
"nvika": {
"version": "4.0.0",
"commands": [
"nvika"
]
],
"rollForward": false
}
}
}
}
8 changes: 0 additions & 8 deletions .github/dependabot.yml

This file was deleted.

12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v6

- name: Install .NET 8.0.x
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v5
with:
dotnet-version: "8.0.x"

Expand All @@ -41,7 +41,7 @@ jobs:
exit $exit_code

- name: InspectCode
run: dotnet jb inspectcode $(pwd)/osu.Tools.sln --build --output="inspectcodereport.xml" --verbosity=WARN

- name: NVika
run: dotnet nvika parsereport "${{github.workspace}}/inspectcodereport.xml" --treatwarningsaserrors
uses: JetBrains/ReSharper-InspectCode@v0.11
with:
solution: ./osu.Tools.sln
verbosity: WARN
2 changes: 1 addition & 1 deletion PerformanceCalculator/ApiCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ protected T GetJsonFromApi<T>(string request, HttpMethod? method = null, Diction
using var req = new JsonWebRequest<T>($"{Program.ENDPOINT_CONFIGURATION.APIUrl}/api/v2/{request}");
req.Method = method ?? HttpMethod.Get;
req.AddHeader("x-api-version", api_version.ToString(CultureInfo.InvariantCulture));
req.AddHeader(System.Net.HttpRequestHeader.Authorization.ToString(), $"Bearer {apiAccessToken}");
req.AddHeader(nameof(System.Net.HttpRequestHeader.Authorization), $"Bearer {apiAccessToken}");

if (parameters != null)
{
Expand Down
2 changes: 1 addition & 1 deletion PerformanceCalculatorGUI/APIManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public async Task<T> GetJsonFromApi<T>(string request)

using var req = new JsonWebRequest<T>($"{ENDPOINT_CONFIGURATION.APIUrl}/api/v2/{request}");
req.AddHeader("x-api-version", api_version.ToString(CultureInfo.InvariantCulture));
req.AddHeader(System.Net.HttpRequestHeader.Authorization.ToString(), $"Bearer {token.AccessToken}");
req.AddHeader(nameof(System.Net.HttpRequestHeader.Authorization), $"Bearer {token.AccessToken}");
await req.PerformAsync().ConfigureAwait(false);

return req.ResponseObject;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ protected override void OnUserTextRemoved(string removed)
return;
}

Value.Value = default;
Value.Value = 0;
}

public double MaxValue { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protected override void OnUserTextRemoved(string removed)
return;
}

Value.Value = default;
Value.Value = 0;
}

public int? MaxValue { get; set; }
Expand Down
Loading