Skip to content

optimize: 优雅!优雅!还是tmd优雅! #140

optimize: 优雅!优雅!还是tmd优雅!

optimize: 优雅!优雅!还是tmd优雅! #140

Triggered via pull request May 15, 2025 10:34
Status Success
Total duration 1m 47s
Artifacts 7

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
build-AppImage: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L250
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build-AppImage: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L201
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
build-AppImage: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L196
Possible null reference argument for parameter 'path2' in 'string Path.Combine(string path1, string path2)'.
build-AppImage: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L157
Dereference of a possibly null reference.
build-AppImage: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L111
Dereference of a possibly null reference.
build-AppImage: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L91
Dereference of a possibly null reference.
build-AppImage: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L91
Dereference of a possibly null reference.
build-AppImage: PCL.Neo.Core/Models/Minecraft/Game/Data/GameEntity.cs#L51
Non-nullable property 'JsonContent' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-AppImage: PCL.Neo.Core/Models/Minecraft/Game/Data/GameEntity.cs#L26
Non-nullable property 'Description' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-AppImage: PCL.Neo.Core/Models/Minecraft/MetadataFile.cs#L53
Non-nullable property 'Value' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-MacOsApp: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L250
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build-MacOsApp: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L201
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
build-MacOsApp: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L196
Possible null reference argument for parameter 'path2' in 'string Path.Combine(string path1, string path2)'.
build-MacOsApp: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L157
Dereference of a possibly null reference.
build-MacOsApp: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L111
Dereference of a possibly null reference.
build-MacOsApp: PCL.Neo.Core/Models/Minecraft/Game/Data/GameEntity.cs#L51
Non-nullable property 'JsonContent' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-MacOsApp: PCL.Neo.Core/Models/Minecraft/Game/Data/GameEntity.cs#L26
Non-nullable property 'Description' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-MacOsApp: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L91
Dereference of a possibly null reference.
build-MacOsApp: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L91
Dereference of a possibly null reference.
build-MacOsApp: PCL.Neo.Core/Models/Minecraft/MetadataFile.cs#L53
Non-nullable property 'Value' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-WinExe: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L250
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build-WinExe: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L201
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
build-WinExe: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L196
Possible null reference argument for parameter 'path2' in 'string Path.Combine(string path1, string path2)'.
build-WinExe: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L157
Dereference of a possibly null reference.
build-WinExe: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L111
Dereference of a possibly null reference.
build-WinExe: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L91
Dereference of a possibly null reference.
build-WinExe: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L91
Dereference of a possibly null reference.
build-WinExe: PCL.Neo.Core/Models/Minecraft/Game/Data/GameEntity.cs#L51
Non-nullable property 'JsonContent' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-WinExe: PCL.Neo.Core/Models/Minecraft/Game/Data/GameEntity.cs#L26
Non-nullable property 'Description' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-WinExe: PCL.Neo.Core/Models/Minecraft/MetadataFile.cs#L53
Non-nullable property 'Value' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.

Artifacts

Produced during runtime
Name Size Digest
linux.arm64 Expired
40.4 MB
sha256:f51f909054f3722e256c0410c2b5463285931808b913e4adb407e508fc6830cd
linux.x64 Expired
42.4 MB
sha256:e03a8f60d10b55cd594e82094a57251877141663668439b27564628f8fcf7231
osx.mac.arm64 Expired
43.4 MB
sha256:61bd31a64295165f0650ed088a67810e9e09c8c6b20103b45f241da40106a1e4
osx.mac.x64 Expired
45.3 MB
sha256:34c3e83b3c9363110e00227e07fcf3d4d69e2477c53f40e9b3e2066e8db887ca
win.arm64 Expired
38.7 MB
sha256:fceb85db5193adbd166f8ddde65fe3f53050572c7dbcdaf9dd72d133cfd5cb35
win.x64 Expired
40.3 MB
sha256:b87d08b66dbb927335a52d7853cf7fc93eee15a422273e25545df06794d52609
win.x86 Expired
37.3 MB
sha256:a73280312758d4bc4b7ad4199cfd2a1e9f49193eb6a32c3a4b5f60f2a6bb4644