Skip to content

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

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

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

Triggered via pull request May 14, 2025 16:10
Status Success
Total duration 1m 50s
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/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/Java/JavaManager.cs#L93
The variable 'e' is declared but never used
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/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#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/Java/JavaManager.cs#L93
The variable 'e' is declared but never used
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:ca7abafd779fa0b4fee2604a297a8fccb0f0d1fc5d5332d3bcf983ed2bd6d006
linux.x64 Expired
42.4 MB
sha256:c7da50d7b98f413f2af9e9b8f3ef47a83cc39cee8f100460ad40191b46c9d14d
osx.mac.arm64 Expired
43.4 MB
sha256:eea69fefbec9714c8e3fe67693672eec1985d69f7715bd7fd2ec0bcd25b7c940
osx.mac.x64 Expired
45.3 MB
sha256:dfb7bc9151d19a180c02fb721e6d50cf2b1b1997cdaab31cd207d51941d9d44a
win.arm64 Expired
38.7 MB
sha256:95dadb97ebc753f2ace7b4778893f5b047e47cdc310eb1a0f245f58ce3698ef4
win.x64 Expired
40.3 MB
sha256:a45bbd176da2b818af19f7afaff49b4929291582e1649f77d712b6d94ac79f6c
win.x86 Expired
37.3 MB
sha256:aae5d8a50a4e762fe2041770b318615a1e57da08d7f02347a4a35c52b5d907a8