Skip to content

Upgrade to .NET9

Upgrade to .NET9 #2915

Triggered via pull request January 16, 2025 10:40
@rngcntrrngcntr
synchronize #1206
cleanup
Status Success
Total duration 5m 36s
Artifacts 3

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

23 warnings
format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build: src/Motor.Extensions.Hosting.RabbitMQ/RabbitMQMessageHostBuilderExtensions.cs#L48
The type 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQPublisherOptions<T>?' cannot be used as type parameter 'TOptions' in the generic type or method 'RabbitMQConnectionFactory<T>.From<TOptions>(TOptions)'. Nullability of type argument 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQPublisherOptions<T>?' doesn't match constraint type 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQBaseOptions'.
build: src/Motor.Extensions.Hosting.RabbitMQ/RabbitMQMessageHostBuilderExtensions.cs#L51
The type 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQPublisherOptions<T>?' cannot be used as type parameter 'TOptions' in the generic type or method 'Options.Create<TOptions>(TOptions)'. Nullability of type argument 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQPublisherOptions<T>?' doesn't match 'class' constraint.
build: src/Motor.Extensions.Hosting.RabbitMQ/RabbitMQMessageHostBuilderExtensions.cs#L51
Argument of type 'IOptions<RabbitMQPublisherOptions<T>?>' cannot be used for parameter 'config' of type 'IOptions<RabbitMQPublisherOptions<T>>' in 'RabbitMQMessagePublisher<T>.RabbitMQMessagePublisher(IRabbitMQConnectionFactory<T> connectionFactory, IOptions<RabbitMQPublisherOptions<T>> config, IOptions<PublisherOptions> publisherOptions, CloudEventFormatter cloudEventFormatter)' due to differences in the nullability of reference types.
build: src/Motor.Extensions.Hosting.NATS/NATSMessageConsumer.cs#L53
Number of parameters supplied in the logging message template do not match the number of named placeholders (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2017)
build: src/Motor.Extensions.Conversion.JsonNet/JsonNetDeserializer.cs#L20
Possible null reference return.
build: test/Motor.Extensions.Hosting.Kafka_IntegrationTest/KafkaExtensionTests.cs#L137
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
build: test/Motor.Extensions.Hosting.Kafka_IntegrationTest/KafkaExtensionTests.cs#L166
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
build: test/Motor.Extensions.Hosting.Kafka_IntegrationTest/KafkaExtensionTests.cs#L201
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
build: test/Motor.Extensions.Hosting.Kafka_IntegrationTest/KafkaExtensionTests.cs#L227
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
build: test/Motor.Extensions.Hosting.Kafka_IntegrationTest/KafkaExtensionTests.cs#L251
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
build: src/Motor.Extensions.Hosting.NATS/NATSMessageConsumer.cs#L53
Number of parameters supplied in the logging message template do not match the number of named placeholders (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2017)
build: src/Motor.Extensions.Conversion.JsonNet/JsonNetDeserializer.cs#L20
Possible null reference return.
build: src/Motor.Extensions.Hosting.RabbitMQ/RabbitMQMessageHostBuilderExtensions.cs#L48
The type 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQPublisherOptions<T>?' cannot be used as type parameter 'TOptions' in the generic type or method 'RabbitMQConnectionFactory<T>.From<TOptions>(TOptions)'. Nullability of type argument 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQPublisherOptions<T>?' doesn't match constraint type 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQBaseOptions'.
build: src/Motor.Extensions.Hosting.RabbitMQ/RabbitMQMessageHostBuilderExtensions.cs#L51
The type 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQPublisherOptions<T>?' cannot be used as type parameter 'TOptions' in the generic type or method 'Options.Create<TOptions>(TOptions)'. Nullability of type argument 'Motor.Extensions.Hosting.RabbitMQ.Options.RabbitMQPublisherOptions<T>?' doesn't match 'class' constraint.
build: src/Motor.Extensions.Hosting.RabbitMQ/RabbitMQMessageHostBuilderExtensions.cs#L51
Argument of type 'IOptions<RabbitMQPublisherOptions<T>?>' cannot be used for parameter 'config' of type 'IOptions<RabbitMQPublisherOptions<T>>' in 'RabbitMQMessagePublisher<T>.RabbitMQMessagePublisher(IRabbitMQConnectionFactory<T> connectionFactory, IOptions<RabbitMQPublisherOptions<T>> config, IOptions<PublisherOptions> publisherOptions, CloudEventFormatter cloudEventFormatter)' due to differences in the nullability of reference types.
build: test/Motor.Extensions.Hosting.SQS_IntegrationTest/SQSContainer.cs#L11
'DockerContainer.DockerContainer(IContainerConfiguration, ILogger)' is obsolete: 'Use the constructor DockerContainer(IContainerConfiguration) instead.'
build: test/Motor.Extensions.Hosting.SQS_IntegrationTest/SQSBuilder.cs#L28
'TestcontainersSettings.Logger' is obsolete: 'Use the builder API WithLogger(ILogger) instead.'
build: src/Motor.Extensions.Hosting.Bridge/Internals/PassThoughService.cs#L23
The type 'Motor.Extensions.Hosting.Bridge.Internals.ByteData?' cannot be used as type parameter 'T' in the generic type or method 'MotorCloudEvent<ByteData>.CreateNew<T>(T, bool)'. Nullability of type argument 'Motor.Extensions.Hosting.Bridge.Internals.ByteData?' doesn't match 'class' constraint.
build: src/Motor.Extensions.Hosting.Bridge/Internals/PassThoughService.cs#L23
Argument of type 'MotorCloudEvent<ByteData?>' cannot be used for parameter 'result' of type 'MotorCloudEvent<ByteData>' in 'Task<MotorCloudEvent<ByteData>?> Task.FromResult<MotorCloudEvent<ByteData>?>(MotorCloudEvent<ByteData>? result)' due to differences in the nullability of reference types.
build: test/Motor.Extensions.Hosting.NATS_IntegrationTest/NATSContainer.cs#L9
'DockerContainer.DockerContainer(IContainerConfiguration, ILogger)' is obsolete: 'Use the constructor DockerContainer(IContainerConfiguration) instead.'
build-bridge
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
GDATASoftwareAG~motornet~J9GLAV.dockerbuild
16.3 KB
artifacts
726 KB
artifacts-bridge
23.2 MB