Skip to content

Update build-and-publish.yml #41

Update build-and-publish.yml

Update build-and-publish.yml #41

Triggered via push October 15, 2024 11:38
Status Failure
Total duration 1m 27s
Artifacts 1
Fit to window
Zoom out
Zoom in

Annotations

1 error and 21 warnings
release
Process completed with exit code 2.
build_and_test: SwipetorApp/System/NoopConsoleLifetime.cs#L33
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build_and_test: SwipetorApp/Areas/Api/PostsApi.cs#L37
Parameter 'logger' is unread.
build_and_test: SwipetorApp/Services/RateLimiter/Rules/VideoUploadRateLimiter.cs#L18
Parameter 'IConnectionCx connectionCx' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build_and_test: SwipetorApp/Services/RateLimiter/Rules/PhotoUploadRateLimiter.cs#L18
Parameter 'IConnectionCx connectionCx' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build_and_test: SwipetorApp/Services/RateLimiter/Rules/CreatePostRateLimiter.cs#L18
Parameter 'IConnectionCx connectionCx' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build_and_test: SwipetorApp/Services/RateLimiter/Rules/CommentRateLimiter.cs#L18
Parameter 'IConnectionCx connectionCx' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build_and_test: SwipetorApp/Areas/Api/MediasApi.cs#L60
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_and_test
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
build_and_test: SwipetorApp/System/NoopConsoleLifetime.cs#L33
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build_and_test: SwipetorApp/Services/BackgroundTasks/PostNotifCreatorBgSvc.cs#L21
Parameter 'IMetricsSvc metricsSvc' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build_and_test: SwipetorApp/Services/BackgroundTasks/PmEmailBgSvc.cs#L25
Parameter 'IMetricsSvc metricsSvc' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build_and_test: SwipetorApp/Services/BackgroundTasks/NotificationEmailBgSvc.cs#L22
Parameter 'IMetricsSvc metricsSvc' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build_and_test: SwipetorApp/Areas/Api/MediasApi.cs#L60
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_and_test: SwipetorApp/Areas/Api/PostsApi.cs#L37
Parameter 'logger' is unread.
release
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2

Artifacts

Produced during runtime
Name Size
swpserver Expired
40.9 MB