mirror of
https://github.com/SK-la/osu-framework.git
synced 2026-03-13 11:20:31 +00:00
Remove dotnet format from CI
This commit is contained in:
@@ -8,12 +8,6 @@
|
||||
"dotnet-cake"
|
||||
]
|
||||
},
|
||||
"dotnet-format": {
|
||||
"version": "3.1.37601",
|
||||
"commands": [
|
||||
"dotnet-format"
|
||||
]
|
||||
},
|
||||
"jetbrains.resharper.globaltools": {
|
||||
"version": "2022.1.0-eap10",
|
||||
"commands": [
|
||||
|
||||
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -46,10 +46,6 @@ jobs:
|
||||
done <<< $(dotnet codefilesanity)
|
||||
exit $exit_code
|
||||
|
||||
# Temporarily disabled due to test failures, but it won't work anyway until the tool is upgraded.
|
||||
# - name: .NET Format (Dry Run)
|
||||
# run: dotnet format --dry-run --check
|
||||
|
||||
- name: InspectCode
|
||||
run: dotnet jb inspectcode $(pwd)/osu-framework.Desktop.slnf --no-build --output="inspectcodereport.xml" --caches-home="inspectcode" --verbosity=WARN
|
||||
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
dotnet tool restore
|
||||
|
||||
# Temporarily disabled until the tool is upgraded to 5.0.
|
||||
# The version specified in .config/dotnet-tools.json (3.1.37601) won't run on .NET hosts >=5.0.7.
|
||||
# - cmd: dotnet format --dry-run --check
|
||||
|
||||
dotnet CodeFileSanity
|
||||
dotnet jb inspectcode "osu-framework.Desktop.slnf" --no-build --output="inspectcodereport.xml" --caches-home="inspectcode" --verbosity=WARN
|
||||
dotnet nvika parsereport "inspectcodereport.xml" --treatwarningsaserrors
|
||||
|
||||
@@ -123,11 +123,6 @@ Task("CodeFileSanity")
|
||||
});
|
||||
});
|
||||
|
||||
// Temporarily disabled until the tool is upgraded to 5.0.
|
||||
// The version specified in .config/dotnet-tools.json (3.1.37601) won't run on .NET hosts >=5.0.7.
|
||||
// Task("DotnetFormat")
|
||||
// .Does(() => DotNetCoreTool(sln.FullPath, "format", "--dry-run --check"));
|
||||
|
||||
Task("PackFramework")
|
||||
.Does(() => {
|
||||
DotNetCorePack(frameworkProject.FullPath, new DotNetCorePackSettings{
|
||||
@@ -224,7 +219,6 @@ Task("Build")
|
||||
.IsDependentOn("Clean")
|
||||
.IsDependentOn("DetermineAppveyorBuildProperties")
|
||||
.IsDependentOn("CodeFileSanity")
|
||||
//.IsDependentOn("DotnetFormat") <- To be uncommented after fixing the task.
|
||||
.IsDependentOn("InspectCode")
|
||||
.IsDependentOn("Test")
|
||||
.IsDependentOn("DetermineAppveyorDeployProperties")
|
||||
|
||||
Reference in New Issue
Block a user