Skip to content

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

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

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

Triggered via pull request May 15, 2025 11:24
Status Success
Total duration 1m 42s
Artifacts 7

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
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/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/Java/JavaManager.cs#L89
The variable 'e' is declared but never used
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/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-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/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/Java/JavaManager.cs#L89
The variable 'e' is declared but never used
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/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/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/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/Java/JavaManager.cs#L89
The variable 'e' is declared but never used
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:0d07310ad2bf14cc234c911284d04143a1c5c80a7f1745a7a90e02b138b915fc
linux.x64 Expired
42.4 MB
sha256:85be8509fb72dc1d2f1bc3ad102ae7f8907b0f01f261f40f6c11ee7d443c3d0d
osx.mac.arm64 Expired
43.4 MB
sha256:bd20a727486e6997b629d9bd7093b135b89050246641b84cdf27937ea8f694b7
osx.mac.x64 Expired
45.3 MB
sha256:818f1ba154e7d63ee5a3f43e48fc47ceca606170cd677e13fc5040be6a975fa7
win.arm64 Expired
38.7 MB
sha256:3efb95d8d1e546afe0b518d607b7b580592b01acc54cda54222ae018741f0851
win.x64 Expired
40.3 MB
sha256:d3d9d79a9912f719d3bdbd3d4309d2e105b9eb70c176cce1bb17f2f65f443715
win.x86 Expired
37.3 MB
sha256:616bfec2767be2952b0badeabe64b2739657d1fd7654c340561fa836fc4e5855