Add Lua support to properly use GrantConditionOnDeploy. #158
ci.yml
on: push
Linux (.NET 6.0)
1m 19s
Linux (mono)
1m 23s
Windows (.NET 6.0)
5m 38s
Annotations
22 errors
Linux (.NET 6.0):
OpenRA.Mods.Common/Traits/Buildings/FreeActor.cs#L83
Use expression body for lambda expression (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0053)
|
Linux (.NET 6.0):
OpenRA.Mods.Common/Traits/BotModules/SupportPowerBotModule.cs#L55
Use expression body for lambda expression (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0053)
|
Linux (.NET 6.0):
OpenRA.Mods.Common/Traits/BotModules/Squads/States/AirStates.cs#L102
Use compound assignment (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0074)
|
Linux (.NET 6.0):
OpenRA.Mods.Common/Traits/BotModules/Squads/States/AirStates.cs#L142
Use compound assignment (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0074)
|
Linux (.NET 6.0):
OpenRA.Mods.Common/Traits/BotModules/BaseBuilderBotModule.cs#L279
Private member 'BaseBuilderBotModule.SetRallyPointsForNewProductionBuildings' is unused (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0051)
|
Linux (.NET 6.0):
OpenRA.Mods.Cnc/Traits/SupportPowers/ChronoshiftPower.cs#L372
Null check can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0031)
|
Linux (.NET 6.0):
OpenRA.Mods.AS/Warheads/TriggerLayerWeaponWarhead.cs#L20
Elements should have the same indentation (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1137.md)
|
Linux (.NET 6.0):
OpenRA.Mods.AS/Traits/SpawnNeighboringActors.cs#L25
'new' expression can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090)
|
Linux (.NET 6.0):
OpenRA.Mods.AS/Traits/SpawnNeighboringActors.cs#L29
Avoid unnecessary zero-length array allocations. Use Array.Empty<CVec>() instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1825)
|
Linux (.NET 6.0):
OpenRA.Mods.AS/Traits/SpawnNeighboringActors.cs#L37
'new' expression can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090)
|
Linux (mono)
Process completed with exit code 2.
|
Windows (.NET 6.0):
OpenRA.Mods.Common/Traits/BotModules/BaseBuilderBotModule.cs#L279
Private member 'BaseBuilderBotModule.SetRallyPointsForNewProductionBuildings' is unused
|
Windows (.NET 6.0):
OpenRA.Mods.Common/Traits/BotModules/Squads/States/AirStates.cs#L102
Use compound assignment
|
Windows (.NET 6.0):
OpenRA.Mods.Common/Traits/BotModules/Squads/States/AirStates.cs#L142
Use compound assignment
|
Windows (.NET 6.0):
OpenRA.Mods.AS/Warheads/TriggerLayerWeaponWarhead.cs#L20
Elements should have the same indentation
|
Windows (.NET 6.0):
OpenRA.Mods.AS/Traits/SpawnNeighboringActors.cs#L25
'new' expression can be simplified
|
Windows (.NET 6.0):
OpenRA.Mods.AS/Traits/SpawnNeighboringActors.cs#L29
Avoid unnecessary zero-length array allocations. Use Array.Empty<CVec>() instead.
|
Windows (.NET 6.0):
OpenRA.Mods.AS/Traits/SpawnNeighboringActors.cs#L37
'new' expression can be simplified
|
Windows (.NET 6.0):
OpenRA.Mods.AS/Widgets/HealthBarWidget.cs#L113
Cast is redundant.
|
Windows (.NET 6.0):
OpenRA.Mods.AS/Widgets/HealthBarWidget.cs#L113
Cast is redundant.
|
Windows (.NET 6.0):
OpenRA.Mods.AS/Traits/World/WeaponTriggerCells.cs#L144
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'WeaponTriggerCells.TickRender(WorldRenderer, Actor)' with a call to 'int.ToString(IFormatProvider)'.
|
Windows (.NET 6.0)
Process completed with exit code 1.
|