Refactor: Adopt nullable types and modern C# conventions #10
build.yml
on: pull_request
os-matrix
7s
dotnet-format
31s
Matrix: build
Annotations
13 warnings
|
os-matrix
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. 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/
|
|
dotnet-format
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4. 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-ubuntu-latest
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4. 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-ubuntu-latest:
src/Schematron/Validator.cs#L327
Possible null reference argument for parameter 'file' in 'void Validator.ValidateSchematron(XPathNavigator file)'.
|
|
build-ubuntu-latest:
src/Schematron/Validator.cs#L307
Possible null reference argument for parameter 'schema' in 'void Schema.Load(XPathNavigator schema)'.
|
|
build-ubuntu-latest:
src/Schematron/Validator.cs#L296
Possible null reference assignment.
|
|
build-ubuntu-latest:
src/Schematron/Validator.cs#L229
Possible null reference argument for parameter 'schema' in 'void Schema.Load(XPathNavigator schema)'.
|
|
build-ubuntu-latest:
src/Schematron/Validator.cs#L218
Possible null reference assignment.
|
|
build-ubuntu-latest:
src/Schematron/Validator.cs#L199
Possible null reference argument for parameter 'schema' in 'XmlSchema? XmlSchemaSet.Add(XmlSchema schema)'.
|
|
build-ubuntu-latest:
src/Schematron/Validator.cs#L196
Nullability of reference types in type of parameter 'sender' of 'void Validator.OnValidation(object sender, ValidationEventArgs e)' doesn't match the target delegate 'ValidationEventHandler' (possibly because of nullability attributes).
|
|
build-ubuntu-latest:
src/Schematron/Config.cs#L39
Dereference of a possibly null reference.
|
|
build-ubuntu-latest:
src/Schematron/Config.cs#L38
Possible null reference assignment.
|
|
build-ubuntu-latest:
src/Schematron/BadSchemaException.cs#L29
'ApplicationException.ApplicationException(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|