Skip to content

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

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

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

Triggered via pull request May 13, 2025 13:29
Status Success
Total duration 2m 6s
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-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.
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.

Artifacts

Produced during runtime
Name Size Digest
linux.arm64 Expired
40.4 MB
sha256:74e05b2b5256789ce5f1e3c6ebe87bc44b3a8647d6e53467b25b2fdcc92babc1
linux.x64 Expired
42.4 MB
sha256:44fc0a7f0678230bc28383ca1a7dd86c8bf77386949ab0a3b3b699489d510712
osx.mac.arm64 Expired
43.4 MB
sha256:5ae93cd7b5c6936fa4e6d8a1e8cc2b367fe0ab14e4735a444518bd8791eb0e7b
osx.mac.x64 Expired
45.3 MB
sha256:28ee09eb60d9ed41d907b37f38baef24d42e836a6cf2dddff1976315bcc4045f
win.arm64 Expired
38.7 MB
sha256:09f3706cf27dfbb928820007c0f79442828f0cd2422cf907c5f77f042e7bfdec
win.x64 Expired
40.4 MB
sha256:c9093257507ac6aa70bcb7c0e57840e70002f160ec5ed0febbc03365aebdec53
win.x86 Expired
37.4 MB
sha256:cdaee054f70c39f16df939425c2b9e380a0da68799bafff3ce923f6414b567ea