Resolve failing tests on tasklist #4987
dotnet-build.yml
on: pull_request
Build .NET, Test and Analyse
4m 59s
Annotations
11 warnings
|
Build .NET, Test and Analyse
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830, actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9, actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9. 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 .NET, Test and Analyse:
src/Core/Dfe.Complete.Domain/Entities/User.cs#L11
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 .NET, Test and Analyse:
src/Core/Dfe.Complete.Domain/Entities/User.cs#L102
'User.AssignToProject' is obsolete: 'Use IsAssignableToProject property instead'
|
|
Build .NET, Test and Analyse:
src/Core/Dfe.Complete.Domain/ValueObjects/Ukprn.cs#L9
Possible null reference return.
|
|
Build .NET, Test and Analyse:
src/Tests/Dfe.Complete.UserContext.Tests/UserInfoTests.cs#L94
Dereference of a possibly null reference.
|
|
Build .NET, Test and Analyse:
src/Core/Dfe.Complete.Utils/EnumExtensions.cs#L63
Converting null literal or possible null value to non-nullable type.
|
|
Build .NET, Test and Analyse:
src/Core/Dfe.Complete.Utils/EnumExtensions.cs#L59
Converting null literal or possible null value to non-nullable type.
|
|
Build .NET, Test and Analyse:
src/Core/Dfe.Complete.Utils/EnumExtensions.cs#L35
Dereference of a possibly null reference.
|
|
Build .NET, Test and Analyse:
src/Frontend/Dfe.Complete.UserContext/UserInfo.cs#L6
Non-nullable property 'Roles' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Build .NET, Test and Analyse:
src/Frontend/Dfe.Complete.UserContext/UserInfo.cs#L5
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Build .NET, Test and Analyse:
src/Frontend/Dfe.Complete.UserContext/ClientUserInfoService.cs#L14
Non-nullable property 'UserInfo' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|