Skip to content

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

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

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

Triggered via pull request May 15, 2025 10:30
Status Success
Total duration 2m 2s
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/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/Java/JavaManager.cs#L93
The variable 'e' is declared but never used
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/Java/JavaManager.cs#L93
The variable 'e' is declared but never used
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/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#L93
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:07844ab60310e1fa9f3d1cf5d26df3d9040be65d5791bc4832f1af3d33ee78e1
linux.x64 Expired
42.4 MB
sha256:d06f3688341d2a6630be1e6cc3fecb0d671c4f6d91371c7f031d35e4892c1c72
osx.mac.arm64 Expired
13.7 MB
sha256:3e2e2d4df4fd647c8c7b58f0960c316b7b04c2efabd1a775e73dfb239bdc3cea
osx.mac.x64 Expired
13.7 MB
sha256:a29efaafc7e77f3774bb33f60dd55c154247b98314792c775e74b2f9feb0419d
win.arm64 Expired
38.7 MB
sha256:73ce520696e260c62e5bc3cd7a8aa598f7848347786161b95adc661cef10eb17
win.x64 Expired
40.3 MB
sha256:bc2fc3f863a545ad0ce8e1a497afa78b1ed31dc7f94ef12e6eb56a74f4b41b17
win.x86 Expired
37.3 MB
sha256:4d539b63dc80d59e31b84e8ce76091f44bd320c9594d2d5fc367d330e7bc0c0c