Skip to content

重构部分代码

重构部分代码 #24

Triggered via pull request April 19, 2025 08:45
Status Success
Total duration 3m 1s
Artifacts 7

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

34 warnings
time
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
time
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
time
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
time
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build: PCL2.Neo/ViewLocator.cs#L16
Unrecognized value passed to the parameter 'typeName' of method 'System.Type.GetType(String)'. It's not possible to guarantee the availability of the target type.
build: PCL2.Neo/App.axaml.cs#L44
Using member 'Avalonia.Data.Core.Plugins.BindingPlugins.DataValidators.get' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. PropertyAccessors might require unreferenced code.
build: PCL2.Neo/App.axaml.cs#L39
Using member 'Avalonia.Data.Core.Plugins.BindingPlugins.DataValidators.get' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. PropertyAccessors might require unreferenced code.
build: PCL2.Neo/Controls/MyRadioButton.axaml.cs#L22
The field 'MyRadioButton._isMouseDown' is assigned but its value is never used
build: PCL2.Neo/Helpers/NotificationHelper.cs#L205
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: PCL2.Neo/Utils/CollectionUtils.cs#L16
Possible null reference argument for parameter 'right' in 'bool CompareThreadStart<T>.Invoke(T left, T right)'.
build: PCL2.Neo/Utils/CollectionUtils.cs#L16
Possible null reference argument for parameter 'left' in 'bool CompareThreadStart<T>.Invoke(T left, T right)'.
build: PCL2.Neo/Utils/SearchUtils.cs#L22
Non-nullable field 'SearchSource' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: PCL2.Neo/Utils/SearchUtils.cs#L17
Non-nullable field 'Item' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: PCL2.Neo/Models/Minecraft/Java/Unix.cs#L16
#warning: '"该方法未经过测试,可能无法正常工作 Unix/SearchJava"'
build: PCL2.Neo/ViewLocator.cs#L16
Unrecognized value passed to the parameter 'typeName' of method 'System.Type.GetType(String)'. It's not possible to guarantee the availability of the target type.
build: PCL2.Neo/App.axaml.cs#L44
Using member 'Avalonia.Data.Core.Plugins.BindingPlugins.DataValidators.get' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. PropertyAccessors might require unreferenced code.
build: PCL2.Neo/App.axaml.cs#L39
Using member 'Avalonia.Data.Core.Plugins.BindingPlugins.DataValidators.get' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. PropertyAccessors might require unreferenced code.
build: PCL2.Neo/Controls/MyRadioButton.axaml.cs#L22
The field 'MyRadioButton._isMouseDown' is assigned but its value is never used
build: PCL2.Neo/Utils/SearchUtils.cs#L22
Non-nullable field 'SearchSource' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: PCL2.Neo/Utils/SearchUtils.cs#L17
Non-nullable field 'Item' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: PCL2.Neo/Utils/CollectionUtils.cs#L16
Possible null reference argument for parameter 'right' in 'bool CompareThreadStart<T>.Invoke(T left, T right)'.
build: PCL2.Neo/Utils/CollectionUtils.cs#L16
Possible null reference argument for parameter 'left' in 'bool CompareThreadStart<T>.Invoke(T left, T right)'.
build: PCL2.Neo/Helpers/NotificationHelper.cs#L205
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: PCL2.Neo/Models/Minecraft/Java/Unix.cs#L16
#warning: '"该方法未经过测试,可能无法正常工作 Unix/SearchJava"'
build: PCL2.Neo/ViewLocator.cs#L16
Unrecognized value passed to the parameter 'typeName' of method 'System.Type.GetType(String)'. It's not possible to guarantee the availability of the target type.
build: PCL2.Neo/App.axaml.cs#L44
Using member 'Avalonia.Data.Core.Plugins.BindingPlugins.DataValidators.get' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. PropertyAccessors might require unreferenced code.
build: PCL2.Neo/App.axaml.cs#L39
Using member 'Avalonia.Data.Core.Plugins.BindingPlugins.DataValidators.get' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. PropertyAccessors might require unreferenced code.
build: PCL2.Neo/Controls/MyRadioButton.axaml.cs#L22
The field 'MyRadioButton._isMouseDown' is assigned but its value is never used
build: PCL2.Neo/Helpers/NotificationHelper.cs#L205
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: PCL2.Neo/Utils/CollectionUtils.cs#L16
Possible null reference argument for parameter 'right' in 'bool CompareThreadStart<T>.Invoke(T left, T right)'.
build: PCL2.Neo/Utils/CollectionUtils.cs#L16
Possible null reference argument for parameter 'left' in 'bool CompareThreadStart<T>.Invoke(T left, T right)'.
build: PCL2.Neo/Utils/SearchUtils.cs#L22
Non-nullable field 'SearchSource' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: PCL2.Neo/Utils/SearchUtils.cs#L17
Non-nullable field 'Item' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: PCL2.Neo/Models/Minecraft/Java/Unix.cs#L16
#warning: '"该方法未经过测试,可能无法正常工作 Unix/SearchJava"'

Artifacts

Produced during runtime
Name Size Digest
linux.arm64 Expired
16.2 MB
sha256:d168d00369d732f5549339da75f73c6e2e0fff6086a45e0ea92af8f96447b7db
linux.x64 Expired
17.2 MB
sha256:f9b75325aecfd7c85a94c9d11c2234d5fd7f671b358747f4faff5cc401656426
osx.mac.arm64 Expired
18.8 MB
sha256:0979b9a8f453b58f019c67f355834d2080384ee448bea446422ced979d5008de
osx.mac.x64 Expired
19.6 MB
sha256:f9fddf19c408759b06713f56c9fdfb88245f795ead370a39e6dad4024d347ab2
win.arm64 Expired
14 MB
sha256:db9bfa34435fbe3239fdfabd0d80b34d2bb6720cb0e34a4bc3cf238d0027974b
win.x64 Expired
14.8 MB
sha256:a6bcddf89a9df6d6ae253f548acd1784cb97fe19819807c63f752a750bd81c6a
win.x86 Expired
13.4 MB
sha256:559412641bb0569641f6c249df765d3f1e79e4af10b6ea88bb08e915c5e37a15