Skip to content

修复一个NaN不相等造成的bug #64

修复一个NaN不相等造成的bug

修复一个NaN不相等造成的bug #64

Triggered via push January 25, 2024 11:00
Status Success
Total duration 2m 28s
Artifacts 2

dotnet.yml

on: push
build-linux-and-wasm
2m 17s
build-linux-and-wasm
Fit to window
Zoom out
Zoom in

Annotations

22 warnings
build-linux-and-wasm
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-and-wasm: InfrastSimSourceGenerator/OperatorInstancesSourceGenerator.cs#L11
'InfrastSimSourceGenerator.OperatorInstancesSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
build-linux-and-wasm: InfrastSimSourceGenerator/ScriptSourceGenerator.cs#L11
'InfrastSimSourceGenerator.ScriptSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
build-linux-and-wasm: InfrastSimSourceGenerator/OperatorGroupsSourceGenerator.cs#L13
'InfrastSimSourceGenerator.OperatorGroupsSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
build-linux-and-wasm: InfrastSim/Order.cs#L32
Possible null reference argument for parameter 'Name' in 'Material.Material(string Name, int Count)'.
build-linux-and-wasm: InfrastSim/Order.cs#L32
Possible null reference argument for parameter 'Name' in 'Material.Material(string Name, int Count)'.
build-linux-and-wasm: InfrastSim/TimeDriven/TradingStation.cs#L18
Nullability of reference types in value of type 'IEnumerable<Order?>' doesn't match target type 'IEnumerable<Order>'.
build-linux-and-wasm: InfrastSim/TimeDriven/Simulator.cs#L8
Non-nullable property 'SelectedFacilityString' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-linux-and-wasm: InfrastSim/TimeDriven/WebHelper/Helper.cs#L189
Possible null reference argument for parameter 'strategyName' in 'void Helper.SetStrategy(Simulator simu, FacilityBase? fac, string strategyName)'.
build-linux-and-wasm: InfrastSim/TimeDriven/WebHelper/Helper.cs#L192
Possible null reference argument for parameter 'productName' in 'void Helper.SetProduct(Simulator simu, FacilityBase? fac, string productName)'.
build-linux-and-wasm: InfrastSim/TimeDriven/WebHelper/Helper.cs#L195
Possible null reference argument for parameter 'name' in 'OperatorBase Simulator.GetOperator(string name)'.
build-linux-and-wasm: InfrastSimWasm/SimulatorService.cs#L166
Possible null reference argument for parameter 'node' in 'JsonNode MowerHelper.RewriteSimulator(Simulator simu, JsonNode node)'.
build-linux-and-wasm: InfrastSimSourceGenerator/ScriptSourceGenerator.cs#L11
'InfrastSimSourceGenerator.ScriptSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
build-linux-and-wasm: InfrastSimSourceGenerator/OperatorInstancesSourceGenerator.cs#L11
'InfrastSimSourceGenerator.OperatorInstancesSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
build-linux-and-wasm: InfrastSimSourceGenerator/OperatorGroupsSourceGenerator.cs#L13
'InfrastSimSourceGenerator.OperatorGroupsSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
build-linux-and-wasm: InfrastSim/Order.cs#L32
Possible null reference argument for parameter 'Name' in 'Material.Material(string Name, int Count)'.
build-linux-and-wasm: InfrastSim/Order.cs#L32
Possible null reference argument for parameter 'Name' in 'Material.Material(string Name, int Count)'.
build-linux-and-wasm: InfrastSim/TimeDriven/TradingStation.cs#L18
Nullability of reference types in value of type 'IEnumerable<Order?>' doesn't match target type 'IEnumerable<Order>'.
build-linux-and-wasm: InfrastSim/TimeDriven/Simulator.cs#L8
Non-nullable property 'SelectedFacilityString' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-linux-and-wasm: InfrastSim/TimeDriven/Simulator.cs#L68
Possible null reference argument for parameter 'key' in 'OperatorBase Dictionary<string, OperatorBase>.this[string key]'.
build-linux-and-wasm: InfrastSim/TimeDriven/Simulator.cs#L68
Possible null reference assignment.
build-linux-and-wasm: InfrastSim/TimeDriven/Simulator.cs#L23
Non-nullable property 'SelectedFacilityString' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Artifacts

Produced during runtime
Name Size
AppBundle Expired
8.74 MB
CLib Expired
4.03 MB