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-cake"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dotnet-format": {
|
|
||||||
"version": "3.1.37601",
|
|
||||||
"commands": [
|
|
||||||
"dotnet-format"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"jetbrains.resharper.globaltools": {
|
"jetbrains.resharper.globaltools": {
|
||||||
"version": "2022.1.0-eap10",
|
"version": "2022.1.0-eap10",
|
||||||
"commands": [
|
"commands": [
|
||||||
|
|||||||
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -46,10 +46,6 @@ jobs:
|
|||||||
done <<< $(dotnet codefilesanity)
|
done <<< $(dotnet codefilesanity)
|
||||||
exit $exit_code
|
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
|
- name: InspectCode
|
||||||
run: dotnet jb inspectcode $(pwd)/osu-framework.Desktop.slnf --no-build --output="inspectcodereport.xml" --caches-home="inspectcode" --verbosity=WARN
|
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
|
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 CodeFileSanity
|
||||||
dotnet jb inspectcode "osu-framework.Desktop.slnf" --no-build --output="inspectcodereport.xml" --caches-home="inspectcode" --verbosity=WARN
|
dotnet jb inspectcode "osu-framework.Desktop.slnf" --no-build --output="inspectcodereport.xml" --caches-home="inspectcode" --verbosity=WARN
|
||||||
dotnet nvika parsereport "inspectcodereport.xml" --treatwarningsaserrors
|
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")
|
Task("PackFramework")
|
||||||
.Does(() => {
|
.Does(() => {
|
||||||
DotNetCorePack(frameworkProject.FullPath, new DotNetCorePackSettings{
|
DotNetCorePack(frameworkProject.FullPath, new DotNetCorePackSettings{
|
||||||
@@ -224,7 +219,6 @@ Task("Build")
|
|||||||
.IsDependentOn("Clean")
|
.IsDependentOn("Clean")
|
||||||
.IsDependentOn("DetermineAppveyorBuildProperties")
|
.IsDependentOn("DetermineAppveyorBuildProperties")
|
||||||
.IsDependentOn("CodeFileSanity")
|
.IsDependentOn("CodeFileSanity")
|
||||||
//.IsDependentOn("DotnetFormat") <- To be uncommented after fixing the task.
|
|
||||||
.IsDependentOn("InspectCode")
|
.IsDependentOn("InspectCode")
|
||||||
.IsDependentOn("Test")
|
.IsDependentOn("Test")
|
||||||
.IsDependentOn("DetermineAppveyorDeployProperties")
|
.IsDependentOn("DetermineAppveyorDeployProperties")
|
||||||
|
|||||||
Reference in New Issue
Block a user