Skip to content

Upgrade WebAPI-Sample-DotNet-7 from .NET 7 to .NET 8 #9

Upgrade WebAPI-Sample-DotNet-7 from .NET 7 to .NET 8

Upgrade WebAPI-Sample-DotNet-7 from .NET 7 to .NET 8 #9

Triggered via pull request September 3, 2025 15:44
Status Success
Total duration 38s
Artifacts

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
build: tests/WebApi.Tests/EducationsControllerTests.cs#L170
Cannot convert null literal to non-nullable reference type.
build: tests/WebApi.Tests/EducationsControllerTests.cs#L107
Cannot convert null literal to non-nullable reference type.
build: src/WebApi/Program.cs#L16
Possible null reference argument for parameter 'connectionString' in 'IHealthChecksBuilder NpgSqlHealthCheckBuilderExtensions.AddNpgSql(IHealthChecksBuilder builder, string connectionString, string healthQuery = "SELECT 1;", Action<NpgsqlConnection>? configure = null, string? name = null, HealthStatus? failureStatus = null, IEnumerable<string>? tags = null, TimeSpan? timeout = null)'.
build: tests/WebApi.Tests/EducationsControllerTests.cs#L170
Cannot convert null literal to non-nullable reference type.
build: tests/WebApi.Tests/EducationsControllerTests.cs#L107
Cannot convert null literal to non-nullable reference type.
build: src/WebApi/Program.cs#L16
Possible null reference argument for parameter 'connectionString' in 'IHealthChecksBuilder NpgSqlHealthCheckBuilderExtensions.AddNpgSql(IHealthChecksBuilder builder, string connectionString, string healthQuery = "SELECT 1;", Action<NpgsqlConnection>? configure = null, string? name = null, HealthStatus? failureStatus = null, IEnumerable<string>? tags = null, TimeSpan? timeout = null)'.