Skip to content

refactor: migrate RoleModel and related tests to use System.Text.Json for serialization #826

refactor: migrate RoleModel and related tests to use System.Text.Json for serialization

refactor: migrate RoleModel and related tests to use System.Text.Json for serialization #826

Triggered via pull request June 2, 2026 10:07
Status Success
Total duration 59s
Artifacts

unit-test.yml

on: pull_request
unit-test
55s
unit-test
Fit to window
Zoom out
Zoom in

Annotations

11 warnings and 1 notice
unit-test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4.2.2, actions/setup-dotnet@v4.3.0, dorny/test-reporter@v1. Actions will be forced to run with Node.js 24 by default starting June 16th, 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/
unit-test: Contentstack.Management.Core/Models/Role.cs#L42
Cannot convert null literal to non-nullable reference type.
unit-test: Contentstack.Management.Core/Models/Role.cs#L8
Cannot convert null literal to non-nullable reference type.
unit-test: Contentstack.Management.Core/Models/Role.cs#L153
Nullability of type of parameter 'collection' doesn't match overridden member (possibly because of nullability attributes).
unit-test: Contentstack.Management.Core/Models/Role.cs#L138
Nullability of type of parameter 'collection' doesn't match overridden member (possibly because of nullability attributes).
unit-test: Contentstack.Management.Core/Models/Role.cs#L123
Nullability of type of parameter 'collection' doesn't match overridden member (possibly because of nullability attributes).
unit-test: Contentstack.Management.Core/Models/Role.cs#L108
Nullability of type of parameter 'collection' doesn't match overridden member (possibly because of nullability attributes).
unit-test: Contentstack.Management.Core/Models/Role.cs#L93
Nullability of type of parameter 'collection' doesn't match overridden member (possibly because of nullability attributes).
unit-test: Contentstack.Management.Core/Models/Role.cs#L76
Nullability of type of parameter 'collection' doesn't match overridden member (possibly because of nullability attributes).
unit-test: Contentstack.Management.Core/Models/Role.cs#L59
Nullability of type of parameter 'collection' doesn't match overridden member (possibly because of nullability attributes).
unit-test: Contentstack.Management.Core/Models/Role.cs#L42
Nullability of type of parameter 'collection' doesn't match overridden member (possibly because of nullability attributes).
unit-test
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026