Skip to content

Title: Fix nullable reference type build errors #238

Title: Fix nullable reference type build errors

Title: Fix nullable reference type build errors #238

Triggered via pull request March 20, 2026 13:49
Status Success
Total duration 1m 51s
Artifacts 3

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 warnings
build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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: FolderDiffIL4DotNet.Tests/Services/FileDiffServiceUnitTests.cs#L485
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: FolderDiffIL4DotNet.Tests/Services/FileDiffServiceUnitTests.cs#L471
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: FolderDiffIL4DotNet.Benchmarks/FolderDiffBenchmarks.cs#L83
Modify 'TryDeleteDir' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
build: FolderDiffIL4DotNet.Tests/Services/FileDiffServiceUnitTests.cs#L485
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: FolderDiffIL4DotNet.Tests/Services/FileDiffServiceUnitTests.cs#L471
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: FolderDiffIL4DotNet.Benchmarks/FolderDiffBenchmarks.cs#L83
Modify 'TryDeleteDir' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
test-windows
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
test-windows: FolderDiffIL4DotNet.Tests/Services/FileDiffServiceUnitTests.cs#L485
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test-windows: FolderDiffIL4DotNet.Tests/Services/FileDiffServiceUnitTests.cs#L471
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test-windows: FolderDiffIL4DotNet.Benchmarks/FolderDiffBenchmarks.cs#L83
Modify 'TryDeleteDir' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
test-windows: FolderDiffIL4DotNet.Tests/Services/FileDiffServiceUnitTests.cs#L485
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test-windows: FolderDiffIL4DotNet.Tests/Services/FileDiffServiceUnitTests.cs#L471
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test-windows: FolderDiffIL4DotNet.Benchmarks/FolderDiffBenchmarks.cs#L83
Modify 'TryDeleteDir' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)

Artifacts

Produced during runtime
Name Size Digest
DocumentationSite Expired
6.84 MB
sha256:312890d2284c2cc0c6b6a252dc2323f28c4d87582f714118409ca8585dc09a7d
FolderDiffIL4DotNet Expired
894 KB
sha256:61dff2429ab95790bac0d9b08e20cac36cd808f086316d7fb64bf890ad4076f4
TestAndCoverage Expired
2.08 MB
sha256:df9115ed828d5c374dc1f7b6f8525ae572d4f7deb4f7164ad5019a5447f88151