Skip to content

简化干员编写的部分代码 #110

简化干员编写的部分代码

简化干员编写的部分代码 #110

Triggered via push April 2, 2024 15:16
Status Success
Total duration 1m 54s
Artifacts 2

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

22 warnings
build-linux
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-linux: InfrastSimSourceGenerator/OperatorInstancesSourceGenerator.cs#L10
'InfrastSimSourceGenerator.OperatorInstancesSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
build-linux: InfrastSim/TimeDriven/TradingStation.cs#L17
Nullability of reference types in value of type 'IEnumerable<Order?>' doesn't match target type 'IEnumerable<Order>'.
build-linux: InfrastSim/Order.cs#L32
Possible null reference argument for parameter 'Name' in 'Material.Material(string Name, int Count)'.
build-linux: InfrastSim/Order.cs#L32
Possible null reference argument for parameter 'Name' in 'Material.Material(string Name, int Count)'.
build-linux: InfrastSim/TimeDriven/SkillInfo.cs#L9
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-linux: InfrastSim/TimeDriven/Simulator.cs#L69
Possible null reference argument for parameter 'key' in 'OperatorBase Dictionary<string, OperatorBase>.this[string key]'.
build-linux: InfrastSim/TimeDriven/Simulator.cs#L69
Possible null reference assignment.
build-linux: InfrastSim/TimeDriven/Dormitory.cs#L44
Dereference of a possibly null reference.
build-linux: InfrastSim/TimeDriven/Dormitory.cs#L44
Dereference of a possibly null reference.
build-linux: InfrastSim/TimeDriven/Enumerate/MoodScheduler.cs#L11
Non-nullable field 'arrangements' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build-linux: InfrastSimWasm/SimulatorService.cs#L166
Possible null reference argument for parameter 'node' in 'JsonNode MowerHelper.RewriteSimulator(Simulator simu, JsonNode node)'.
build-linux: InfrastSimSourceGenerator/OperatorInstancesSourceGenerator.cs#L10
'InfrastSimSourceGenerator.OperatorInstancesSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
build-linux: InfrastSim/Order.cs#L32
Possible null reference argument for parameter 'Name' in 'Material.Material(string Name, int Count)'.
build-linux: InfrastSim/Order.cs#L32
Possible null reference argument for parameter 'Name' in 'Material.Material(string Name, int Count)'.
build-linux: InfrastSim/TimeDriven/TradingStation.cs#L17
Nullability of reference types in value of type 'IEnumerable<Order?>' doesn't match target type 'IEnumerable<Order>'.
build-linux: InfrastSim/TimeDriven/SkillInfo.cs#L9
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-linux: InfrastSim/TimeDriven/Simulator.cs#L69
Possible null reference argument for parameter 'key' in 'OperatorBase Dictionary<string, OperatorBase>.this[string key]'.
build-linux: InfrastSim/TimeDriven/Simulator.cs#L69
Possible null reference assignment.
build-linux: InfrastSim/TimeDriven/Simulator.cs#L211
Nullability of reference types in value of type 'IEnumerable<PowerStation?>' doesn't match target type 'IEnumerable<PowerStation>'.
build-linux: InfrastSim/TimeDriven/Simulator.cs#L213
Nullability of reference types in value of type 'IEnumerable<TradingStation?>' doesn't match target type 'IEnumerable<TradingStation>'.
build-linux: InfrastSim/TimeDriven/Simulator.cs#L215
Nullability of reference types in value of type 'IEnumerable<ManufacturingStation?>' doesn't match target type 'IEnumerable<ManufacturingStation>'.

Artifacts

Produced during runtime
Name Size
AppBundle Expired
8.76 MB
InfrastSim-clib-linux Expired
4.11 MB