feat: 将剩余功能完善到 cmdpal #2
pr_build.yml
on: pull_request
Matrix: build-cmdpal
Matrix: build-legacy
Annotations
44 warnings and 4 notices
|
Build legacy plugin (ARM64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Build legacy plugin (ARM64):
src/Service/DeepLTranslator.cs#L307
Non-nullable property 'LangUserSelected' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Build legacy plugin (ARM64):
src/Service/DeepLTranslator.cs#L318
Non-nullable property 'Default' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Build legacy plugin (ARM64):
src/Service/DeepLTranslator.cs#L315
Non-nullable property 'Weight' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Build legacy plugin (ARM64):
src/Service/DeepLTranslator.cs#L323
Non-nullable property 'Texts' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Build legacy plugin (ARM64):
src/Service/Aliyun/AlibabaTranslator.cs#L37
Non-nullable property 'headerName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Build legacy plugin (ARM64):
src/Service/Aliyun/AlibabaTranslator.cs#L36
Non-nullable property 'parameterName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Build legacy plugin (ARM64):
src/Service/Aliyun/AlibabaTranslator.cs#L35
Non-nullable property 'token' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Build legacy plugin (ARM64):
src/Translator.cs#L30
Non-nullable field 'pluginContext' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
|
Build legacy plugin (ARM64):
src/Translator.cs#L30
Non-nullable field 'publicAPI' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
|
Build legacy plugin (ARM64):
src/Translator.cs#L30
Non-nullable field 'queryMetaData' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
|
Build legacy plugin (x64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Build legacy plugin (x64):
src/Service/DeepLTranslator.cs#L318
Non-nullable property 'Default' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Build legacy plugin (x64):
src/Service/DeepLTranslator.cs#L315
Non-nullable property 'Weight' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Build legacy plugin (x64):
src/Service/DeepLTranslator.cs#L323
Non-nullable property 'Texts' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Build legacy plugin (x64):
src/Service/Aliyun/AlibabaTranslator.cs#L16
Non-nullable property 'code' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Build legacy plugin (x64):
src/Service/Aliyun/AlibabaTranslator.cs#L37
Non-nullable property 'headerName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Build legacy plugin (x64):
src/Service/Aliyun/AlibabaTranslator.cs#L36
Non-nullable property 'parameterName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Build legacy plugin (x64):
src/Service/Aliyun/AlibabaTranslator.cs#L35
Non-nullable property 'token' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Build legacy plugin (x64):
src/Translator.cs#L30
Non-nullable field 'pluginContext' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
|
Build legacy plugin (x64):
src/Translator.cs#L30
Non-nullable field 'publicAPI' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
|
Build legacy plugin (x64):
src/Translator.cs#L30
Non-nullable field 'queryMetaData' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
|
Build cmdpal extension (ARM64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4, GuillaumeFalourd/setup-windows10-sdk-action@v2, microsoft/setup-msbuild@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Build cmdpal extension (ARM64):
cmdpal/PowerTranslatorExtension/Service/Youdao/BackupTranslator.cs#L12
Names of 'Members' and 'PowerTranslatorExtension.Service.Youdao.Backup.TranslateResult.Web, PowerTranslatorExtension.Service.Youdao.Backup.TranslateResult.web' should differ by more than case (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1708)
|
|
Build cmdpal extension (ARM64):
cmdpal/PowerTranslatorExtension/Service/Youdao/BackupTranslator.cs#L12
Names of 'Members' and 'PowerTranslatorExtension.Service.Youdao.Backup.TranslateResult.Basic, PowerTranslatorExtension.Service.Youdao.Backup.TranslateResult.basic' should differ by more than case (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1708)
|
|
Build cmdpal extension (ARM64):
cmdpal/PowerTranslatorExtension/Service/Aliyun/AlibabaTranslator.cs#L9
Names of 'Members' and 'PowerTranslatorExtension.Service.Aliyun.AliyunTranslateResult.Data, PowerTranslatorExtension.Service.Aliyun.AliyunTranslateResult.data' should differ by more than case (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1708)
|
|
Build cmdpal extension (ARM64):
cmdpal/PowerTranslatorExtension/Middleware/AliasMiddleware.cs#L3
Rename namespace PowerTranslatorExtension.Middleware.Alias so that it no longer conflicts with the reserved language keyword 'Alias'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
|
Build cmdpal extension (ARM64):
cmdpal/PowerTranslatorExtension/Helper/TranslateHelper.cs#L25
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
|
Build cmdpal extension (ARM64):
cmdpal/PowerTranslatorExtension/Helper/TranslateHelper.cs#L24
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
|
Build cmdpal extension (ARM64):
cmdpal/PowerTranslatorExtension/Helper/TranslateHelper.cs#L34
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
|
Build cmdpal extension (ARM64):
cmdpal/PowerTranslatorExtension/Helper/HistoryHelper.cs#L15
Member 'mark' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
|
Build cmdpal extension (ARM64):
cmdpal/PowerTranslatorExtension/Helper/HistoryHelper.cs#L11
Remove the underscores from member name PowerTranslatorExtension.History.HistoryHelper.MAX_HISTORY_NUM (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
|
|
Build cmdpal extension (ARM64):
cmdpal/PowerTranslatorExtension/Helper/TranslateHelper.cs#L88
Dereference of a possibly null reference.
|
|
Build cmdpal extension (x64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4, GuillaumeFalourd/setup-windows10-sdk-action@v2, microsoft/setup-msbuild@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Build cmdpal extension (x64):
cmdpal/PowerTranslatorExtension/Service/Youdao/BackupTranslator.cs#L12
Names of 'Members' and 'PowerTranslatorExtension.Service.Youdao.Backup.TranslateResult.Web, PowerTranslatorExtension.Service.Youdao.Backup.TranslateResult.web' should differ by more than case (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1708)
|
|
Build cmdpal extension (x64):
cmdpal/PowerTranslatorExtension/Service/Youdao/BackupTranslator.cs#L12
Names of 'Members' and 'PowerTranslatorExtension.Service.Youdao.Backup.TranslateResult.Basic, PowerTranslatorExtension.Service.Youdao.Backup.TranslateResult.basic' should differ by more than case (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1708)
|
|
Build cmdpal extension (x64):
cmdpal/PowerTranslatorExtension/Service/Aliyun/AlibabaTranslator.cs#L9
Names of 'Members' and 'PowerTranslatorExtension.Service.Aliyun.AliyunTranslateResult.Data, PowerTranslatorExtension.Service.Aliyun.AliyunTranslateResult.data' should differ by more than case (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1708)
|
|
Build cmdpal extension (x64):
cmdpal/PowerTranslatorExtension/Helper/HistoryHelper.cs#L15
Member 'mark' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
|
Build cmdpal extension (x64):
cmdpal/PowerTranslatorExtension/Helper/HistoryHelper.cs#L11
Remove the underscores from member name PowerTranslatorExtension.History.HistoryHelper.MAX_HISTORY_NUM (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
|
|
Build cmdpal extension (x64):
cmdpal/PowerTranslatorExtension/Helper/TranslateHelper.cs#L24
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
|
Build cmdpal extension (x64):
cmdpal/PowerTranslatorExtension/Middleware/AliasMiddleware.cs#L3
Rename namespace PowerTranslatorExtension.Middleware.Alias so that it no longer conflicts with the reserved language keyword 'Alias'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
|
Build cmdpal extension (x64):
cmdpal/PowerTranslatorExtension/Helper/TranslateHelper.cs#L25
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
|
Build cmdpal extension (x64):
cmdpal/PowerTranslatorExtension/Helper/TranslateHelper.cs#L34
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
|
Build cmdpal extension (x64):
cmdpal/PowerTranslatorExtension/Helper/TranslateHelper.cs#L88
Dereference of a possibly null reference.
|
|
Build legacy plugin (ARM64)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
|
|
Build legacy plugin (x64)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
|
|
Build cmdpal extension (ARM64)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
|
|
Build cmdpal extension (x64)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
PowerTranslatorExtension-ARM64-pr88
Expired
|
52.7 MB |
sha256:1139f204f20f2c38bba4b5bb904d64d229742dd4b304fe323617ee796d495146
|
|
|
PowerTranslatorExtension-x64-pr88
Expired
|
55.5 MB |
sha256:51ddf79efbda1c1e490b325e88f363b21ac12b1052b45672d5032008d67b61a6
|
|
|
Translator-ARM64-pr88
Expired
|
42.9 KB |
sha256:bf7098011c5a07cb76fe090b98c9bdbdcbec0d91a4e356a2b8c84eb30ccde28f
|
|
|
Translator-x64-pr88
Expired
|
42.9 KB |
sha256:746927bcfd0c4191d4ba7d1debbf562a9dc2b153a2e2f058feb1e6d4092ca69d
|
|