Skip to content

撤销 Json源生成器 #73

撤销 Json源生成器

撤销 Json源生成器 #73

Triggered via pull request December 30, 2024 12:15
Status Success
Total duration 1m 32s
Artifacts 4

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build: src/TestConsole/ApiTest.cs#L22
Dereference of a possibly null reference.
build: src/TestConsole/OpenAiMatchPlugin.cs#L97
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: src/TestConsole/MyPostPlugin.cs#L49
Dereference of a possibly null reference.
build: src/TestConsole/OpenAiMatchPlugin.cs#L46
Non-nullable property 'id' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/TestConsole/OpenAiMatchPlugin.cs#L47
Non-nullable property 'object' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/TestConsole/OpenAiMatchPlugin.cs#L49
Non-nullable property 'model' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/TestConsole/OpenAiMatchPlugin.cs#L50
Non-nullable property 'choices' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/TestConsole/OpenAiMatchPlugin.cs#L51
Non-nullable property 'usage' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/TestConsole/OpenAiMatchPlugin.cs#L35
Non-nullable property 'text' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/TestConsole/OpenAiMatchPlugin.cs#L37
Non-nullable property 'logprobs' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
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: ".NET 6", ".NET 7", ".NET 8", ".NET Standard 2.0". 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
.NET 6
544 KB
.NET 7
543 KB
.NET 8
542 KB
.NET Standard 2.0
540 KB