Skip to content

0.12.0

0.12.0 #63

Triggered via push July 12, 2024 16:06
Status Success
Total duration 7m 26s
Artifacts 2
version
3s
version
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

24 warnings
build (arm64)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3, microsoft/[email protected], actions/[email protected], softprops/action-gh-release@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (arm64): src/Starward.Core/HoYoPlay/HoYoPlayClient.cs#L56
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonNode, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
build (arm64): src/Starward/obj/arm64/Release/net8.0-windows10.0.22621.0/win10-arm64/Pages/GameLauncherPage.g.i.cs#L22
'GameLauncherPage.GameBannerAndPost': new protected member declared in sealed type
build (arm64): src/Starward/obj/arm64/Release/net8.0-windows10.0.22621.0/win10-arm64/Pages/GameLauncherPage.g.i.cs#L48
'GameLauncherPage.Button_SettingRepairGame': new protected member declared in sealed type
build (arm64): src/Starward/obj/arm64/Release/net8.0-windows10.0.22621.0/win10-arm64/Pages/GameLauncherPage.g.i.cs#L50
'GameLauncherPage.Button_UninstallGame': new protected member declared in sealed type
build (arm64): src/Starward/Controls/GameBizSelector.xaml.cs#L143
The variable 'ex' is declared but never used
build (arm64): src/Starward/Controls/GameBannerAndPost.xaml.cs#L236
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 (arm64): src/Starward/Pages/Welcome/SelectGamePage.xaml.cs#L110
'AppConfig.SetLastRegionOfGame(GameBiz, GameBiz)' is obsolete: '已不用'
build (arm64): src/Starward/Services/Gacha/ZZZGachaService.cs#L222
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 (arm64): src/Starward/Services/Gacha/ZZZGachaService.cs#L241
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 (arm64): src/Starward/Controls/GameBannerAndPost.xaml.cs#L27
Field 'GameBannerAndPost._logger' is never assigned to, and will always have its default value null
build (x64)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3, microsoft/[email protected], actions/[email protected], softprops/action-gh-release@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (x64): src/Starward.Core/HoYoPlay/HoYoPlayClient.cs#L56
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonNode, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
build (x64): src/Starward/obj/x64/Release/net8.0-windows10.0.22621.0/win10-x64/Pages/GameLauncherPage.g.i.cs#L22
'GameLauncherPage.GameBannerAndPost': new protected member declared in sealed type
build (x64): src/Starward/obj/x64/Release/net8.0-windows10.0.22621.0/win10-x64/Pages/GameLauncherPage.g.i.cs#L48
'GameLauncherPage.Button_SettingRepairGame': new protected member declared in sealed type
build (x64): src/Starward/obj/x64/Release/net8.0-windows10.0.22621.0/win10-x64/Pages/GameLauncherPage.g.i.cs#L50
'GameLauncherPage.Button_UninstallGame': new protected member declared in sealed type
build (x64): src/Starward/Controls/GameBizSelector.xaml.cs#L143
The variable 'ex' is declared but never used
build (x64): src/Starward/Controls/GameBannerAndPost.xaml.cs#L236
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 (x64): src/Starward/Pages/Welcome/SelectGamePage.xaml.cs#L110
'AppConfig.SetLastRegionOfGame(GameBiz, GameBiz)' is obsolete: '已不用'
build (x64): src/Starward/Services/Gacha/ZZZGachaService.cs#L222
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 (x64): src/Starward/Services/Gacha/ZZZGachaService.cs#L241
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 (x64): src/Starward/Services/GameResourceService.cs#L29
The field 'GameResourceService._hoYoPlayService' is never used
metadata
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/[email protected], peter-evans/create-pull-request@v5. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "metadata_arm64", "metadata_x64". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
metadata_arm64 Expired
97 KB
metadata_x64 Expired
96.9 KB