Skip to content

Bump xunit from 2.9.2 to 2.9.3 #1492

Bump xunit from 2.9.2 to 2.9.3

Bump xunit from 2.9.2 to 2.9.3 #1492

Triggered via pull request January 10, 2025 06:14
Status Success
Total duration 6m 56s
Artifacts 6

build.yaml

on: pull_request
Build extension
1m 12s
Build extension
Build docs
1m 5s
Build docs
🔍 Analyze with PSRule
30s
🔍 Analyze with PSRule
🔍 Analyze with DevSkim
33s
🔍 Analyze with DevSkim
🔍 Analyze with CodeQL
3m 31s
🔍 Analyze with CodeQL
Matrix: test_extension
Matrix: test_module
Fit to window
Zoom out
Zoom in

Annotations

60 warnings
🔍 Analyze with PSRule
Target object 'src/PSRule/PSRule.Format.ps1xml' has not been processed because no matching rules were found.
🔍 Analyze with PSRule
Target object 'docs/assets/stylesheets/extra.css' has not been processed because no matching rules were found.
🔍 Analyze with DevSkim
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build docs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build extension
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build extension: src/PSRule/Pipeline/ResourceCacheDiscoveryContext.cs#L22
Nullability of reference types in return type of 'IPipelineWriter? ResourceCacheDiscoveryContext.Writer.get' doesn't match implicitly implemented member 'IPipelineWriter IResourceDiscoveryContext.Writer.get' (possibly because of nullability attributes).
Build extension: src/PSRule/Runtime/RunspaceContext.cs#L518
Possible null reference argument for parameter 'name' in 'bool ILanguageScopeSet.TryScope(string name, out ILanguageScope? scope)'.
Build extension: src/PSRule/Commands/ExportConventionCommand.cs#L86
Possible null reference argument for parameter 'moduleName' in 'void RunspaceContext.VerboseFoundResource(string name, string moduleName, string scriptName)'.
Build extension: src/PSRule/Converters/Yaml/ResourceNodeDeserializer.cs#L115
Possible null reference argument for parameter 'file' in 'SourceExtent.SourceExtent(ISourceFile file, int? line, int? position)'.
Build extension: src/PSRule/Converters/Json/ResourceObjectJsonConverter.cs#L49
Possible null reference argument for parameter 'file' in 'bool JsonReaderExtensions.GetSourceExtent(JsonReader reader, ISourceFile file, out ISourceExtent? extent)'.
Build extension: src/PSRule/Converters/Json/ResourceObjectJsonConverter.cs#L97
Possible null reference argument for parameter 'extent' in 'bool ResourceObjectJsonConverter.TrySpec(JsonReader reader, JsonSerializer serializer, string propertyName, string apiVersion, string kind, ResourceMetadata? metadata, CommentMetadata? comment, ISourceExtent extent, out IResource? spec)'.
Build extension: src/PSRule/Converters/Json/LanguageExpressionJsonConverter.cs#L174
Possible null reference argument for parameter 'item' in 'void List<object>.Add(object item)'.
Build extension: src/PSRule/Converters/Yaml/LanguageExpressionDeserializer.cs#L190
The type 'YamlDotNet.Core.Events.Scalar?' cannot be used as type parameter 'T' in the generic type or method 'ParserExtensions.TryConsume<T>(IParser, out T)'. Nullability of type argument 'YamlDotNet.Core.Events.Scalar?' doesn't match constraint type 'YamlDotNet.Core.Events.ParsingEvent'.
Build extension: src/PSRule/Converters/Yaml/LanguageExpressionDeserializer.cs#L209
The type 'YamlDotNet.Core.Events.Scalar?' cannot be used as type parameter 'T' in the generic type or method 'ParserExtensions.TryConsume<T>(IParser, out T)'. Nullability of type argument 'YamlDotNet.Core.Events.Scalar?' doesn't match constraint type 'YamlDotNet.Core.Events.ParsingEvent'.
Build extension: src/PSRule/Pipeline/Runs/Run.cs#L19
Non-nullable field '_TargetBinder' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
🧪 Test extension (macos-latest): src/PSRule/Pipeline/ResourceCacheDiscoveryContext.cs#L22
Nullability of reference types in return type of 'IPipelineWriter? ResourceCacheDiscoveryContext.Writer.get' doesn't match implicitly implemented member 'IPipelineWriter IResourceDiscoveryContext.Writer.get' (possibly because of nullability attributes).
🧪 Test extension (macos-latest): src/PSRule/Runtime/RunspaceContext.cs#L518
Possible null reference argument for parameter 'name' in 'bool ILanguageScopeSet.TryScope(string name, out ILanguageScope? scope)'.
🧪 Test extension (macos-latest): src/PSRule/Commands/ExportConventionCommand.cs#L86
Possible null reference argument for parameter 'moduleName' in 'void RunspaceContext.VerboseFoundResource(string name, string moduleName, string scriptName)'.
🧪 Test extension (macos-latest): src/PSRule/Converters/Yaml/ResourceNodeDeserializer.cs#L115
Possible null reference argument for parameter 'file' in 'SourceExtent.SourceExtent(ISourceFile file, int? line, int? position)'.
🧪 Test extension (macos-latest): src/PSRule/Converters/Json/ResourceObjectJsonConverter.cs#L49
Possible null reference argument for parameter 'file' in 'bool JsonReaderExtensions.GetSourceExtent(JsonReader reader, ISourceFile file, out ISourceExtent? extent)'.
🧪 Test extension (macos-latest): src/PSRule/Converters/Json/ResourceObjectJsonConverter.cs#L97
Possible null reference argument for parameter 'extent' in 'bool ResourceObjectJsonConverter.TrySpec(JsonReader reader, JsonSerializer serializer, string propertyName, string apiVersion, string kind, ResourceMetadata? metadata, CommentMetadata? comment, ISourceExtent extent, out IResource? spec)'.
🧪 Test extension (macos-latest): src/PSRule/Converters/Yaml/LanguageExpressionDeserializer.cs#L190
The type 'YamlDotNet.Core.Events.Scalar?' cannot be used as type parameter 'T' in the generic type or method 'ParserExtensions.TryConsume<T>(IParser, out T)'. Nullability of type argument 'YamlDotNet.Core.Events.Scalar?' doesn't match constraint type 'YamlDotNet.Core.Events.ParsingEvent'.
🧪 Test extension (macos-latest): src/PSRule/Converters/Yaml/LanguageExpressionDeserializer.cs#L209
The type 'YamlDotNet.Core.Events.Scalar?' cannot be used as type parameter 'T' in the generic type or method 'ParserExtensions.TryConsume<T>(IParser, out T)'. Nullability of type argument 'YamlDotNet.Core.Events.Scalar?' doesn't match constraint type 'YamlDotNet.Core.Events.ParsingEvent'.
🧪 Test extension (macos-latest): src/PSRule/Converters/Json/LanguageExpressionJsonConverter.cs#L174
Possible null reference argument for parameter 'item' in 'void List<object>.Add(object item)'.
🧪 Test extension (macos-latest): src/PSRule/Runtime/Binding/TargetBindingContext.cs#L44
Dereference of a possibly null reference.
🧪 Test extension (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🧪 Test extension (ubuntu-latest): src/PSRule/Pipeline/ResourceCacheDiscoveryContext.cs#L22
Nullability of reference types in return type of 'IPipelineWriter? ResourceCacheDiscoveryContext.Writer.get' doesn't match implicitly implemented member 'IPipelineWriter IResourceDiscoveryContext.Writer.get' (possibly because of nullability attributes).
🧪 Test extension (ubuntu-latest): src/PSRule/Runtime/RunspaceContext.cs#L518
Possible null reference argument for parameter 'name' in 'bool ILanguageScopeSet.TryScope(string name, out ILanguageScope? scope)'.
🧪 Test extension (ubuntu-latest): src/PSRule/Commands/ExportConventionCommand.cs#L86
Possible null reference argument for parameter 'moduleName' in 'void RunspaceContext.VerboseFoundResource(string name, string moduleName, string scriptName)'.
🧪 Test extension (ubuntu-latest): src/PSRule/Converters/Json/ResourceObjectJsonConverter.cs#L49
Possible null reference argument for parameter 'file' in 'bool JsonReaderExtensions.GetSourceExtent(JsonReader reader, ISourceFile file, out ISourceExtent? extent)'.
🧪 Test extension (ubuntu-latest): src/PSRule/Converters/Json/ResourceObjectJsonConverter.cs#L97
Possible null reference argument for parameter 'extent' in 'bool ResourceObjectJsonConverter.TrySpec(JsonReader reader, JsonSerializer serializer, string propertyName, string apiVersion, string kind, ResourceMetadata? metadata, CommentMetadata? comment, ISourceExtent extent, out IResource? spec)'.
🧪 Test extension (ubuntu-latest): src/PSRule/Converters/Yaml/ResourceNodeDeserializer.cs#L115
Possible null reference argument for parameter 'file' in 'SourceExtent.SourceExtent(ISourceFile file, int? line, int? position)'.
🧪 Test extension (ubuntu-latest): src/PSRule/Converters/Yaml/LanguageExpressionDeserializer.cs#L190
The type 'YamlDotNet.Core.Events.Scalar?' cannot be used as type parameter 'T' in the generic type or method 'ParserExtensions.TryConsume<T>(IParser, out T)'. Nullability of type argument 'YamlDotNet.Core.Events.Scalar?' doesn't match constraint type 'YamlDotNet.Core.Events.ParsingEvent'.
🧪 Test extension (ubuntu-latest): src/PSRule/Converters/Yaml/LanguageExpressionDeserializer.cs#L209
The type 'YamlDotNet.Core.Events.Scalar?' cannot be used as type parameter 'T' in the generic type or method 'ParserExtensions.TryConsume<T>(IParser, out T)'. Nullability of type argument 'YamlDotNet.Core.Events.Scalar?' doesn't match constraint type 'YamlDotNet.Core.Events.ParsingEvent'.
🧪 Test extension (ubuntu-latest): src/PSRule/Converters/Json/LanguageExpressionJsonConverter.cs#L174
Possible null reference argument for parameter 'item' in 'void List<object>.Add(object item)'.
🧪 Test extension (ubuntu-latest): src/PSRule/Runtime/Binding/TargetBindingContext.cs#L44
Dereference of a possibly null reference.
Build module
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build module: src/PSRule/Pipeline/ResourceCacheDiscoveryContext.cs#L22
Nullability of reference types in return type of 'IPipelineWriter? ResourceCacheDiscoveryContext.Writer.get' doesn't match implicitly implemented member 'IPipelineWriter IResourceDiscoveryContext.Writer.get' (possibly because of nullability attributes).
Build module: src/PSRule/Runtime/RunspaceContext.cs#L518
Possible null reference argument for parameter 'name' in 'bool ILanguageScopeSet.TryScope(string name, out ILanguageScope? scope)'.
Build module: src/PSRule/Commands/ExportConventionCommand.cs#L86
Possible null reference argument for parameter 'moduleName' in 'void RunspaceContext.VerboseFoundResource(string name, string moduleName, string scriptName)'.
Build module: src/PSRule/Converters/Yaml/ResourceNodeDeserializer.cs#L115
Possible null reference argument for parameter 'file' in 'SourceExtent.SourceExtent(ISourceFile file, int? line, int? position)'.
Build module: src/PSRule/Converters/Json/ResourceObjectJsonConverter.cs#L49
Possible null reference argument for parameter 'file' in 'bool JsonReaderExtensions.GetSourceExtent(JsonReader reader, ISourceFile file, out ISourceExtent? extent)'.
Build module: src/PSRule/Converters/Json/ResourceObjectJsonConverter.cs#L97
Possible null reference argument for parameter 'extent' in 'bool ResourceObjectJsonConverter.TrySpec(JsonReader reader, JsonSerializer serializer, string propertyName, string apiVersion, string kind, ResourceMetadata? metadata, CommentMetadata? comment, ISourceExtent extent, out IResource? spec)'.
Build module: src/PSRule/Converters/Json/LanguageExpressionJsonConverter.cs#L174
Possible null reference argument for parameter 'item' in 'void List<object>.Add(object item)'.
Build module: src/PSRule/Converters/Yaml/LanguageExpressionDeserializer.cs#L190
The type 'YamlDotNet.Core.Events.Scalar?' cannot be used as type parameter 'T' in the generic type or method 'ParserExtensions.TryConsume<T>(IParser, out T)'. Nullability of type argument 'YamlDotNet.Core.Events.Scalar?' doesn't match constraint type 'YamlDotNet.Core.Events.ParsingEvent'.
Build module: src/PSRule/Converters/Yaml/LanguageExpressionDeserializer.cs#L209
The type 'YamlDotNet.Core.Events.Scalar?' cannot be used as type parameter 'T' in the generic type or method 'ParserExtensions.TryConsume<T>(IParser, out T)'. Nullability of type argument 'YamlDotNet.Core.Events.Scalar?' doesn't match constraint type 'YamlDotNet.Core.Events.ParsingEvent'.
Build module: src/PSRule/Runtime/Binding/TargetBindingContext.cs#L44
Dereference of a possibly null reference.
🔍 Analyze with CodeQL
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🧪 Test module (linux-x64-pwsh)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🧪 Test module (linux-musl-x64-pwsh)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🧪 Test extension (windows-latest): src/PSRule/Pipeline/ResourceCacheDiscoveryContext.cs#L22
Nullability of reference types in return type of 'IPipelineWriter? ResourceCacheDiscoveryContext.Writer.get' doesn't match implicitly implemented member 'IPipelineWriter IResourceDiscoveryContext.Writer.get' (possibly because of nullability attributes).
🧪 Test extension (windows-latest): src/PSRule/Commands/ExportConventionCommand.cs#L86
Possible null reference argument for parameter 'moduleName' in 'void RunspaceContext.VerboseFoundResource(string name, string moduleName, string scriptName)'.
🧪 Test extension (windows-latest): src/PSRule/Runtime/RunspaceContext.cs#L518
Possible null reference argument for parameter 'name' in 'bool ILanguageScopeSet.TryScope(string name, out ILanguageScope? scope)'.
🧪 Test extension (windows-latest): src/PSRule/Converters/Yaml/ResourceNodeDeserializer.cs#L115
Possible null reference argument for parameter 'file' in 'SourceExtent.SourceExtent(ISourceFile file, int? line, int? position)'.
🧪 Test extension (windows-latest): src/PSRule/Converters/Yaml/LanguageExpressionDeserializer.cs#L190
The type 'YamlDotNet.Core.Events.Scalar?' cannot be used as type parameter 'T' in the generic type or method 'ParserExtensions.TryConsume<T>(IParser, out T)'. Nullability of type argument 'YamlDotNet.Core.Events.Scalar?' doesn't match constraint type 'YamlDotNet.Core.Events.ParsingEvent'.
🧪 Test extension (windows-latest): src/PSRule/Converters/Yaml/LanguageExpressionDeserializer.cs#L209
The type 'YamlDotNet.Core.Events.Scalar?' cannot be used as type parameter 'T' in the generic type or method 'ParserExtensions.TryConsume<T>(IParser, out T)'. Nullability of type argument 'YamlDotNet.Core.Events.Scalar?' doesn't match constraint type 'YamlDotNet.Core.Events.ParsingEvent'.
🧪 Test extension (windows-latest): src/PSRule/Converters/Json/ResourceObjectJsonConverter.cs#L49
Possible null reference argument for parameter 'file' in 'bool JsonReaderExtensions.GetSourceExtent(JsonReader reader, ISourceFile file, out ISourceExtent? extent)'.
🧪 Test extension (windows-latest): src/PSRule/Converters/Json/ResourceObjectJsonConverter.cs#L97
Possible null reference argument for parameter 'extent' in 'bool ResourceObjectJsonConverter.TrySpec(JsonReader reader, JsonSerializer serializer, string propertyName, string apiVersion, string kind, ResourceMetadata? metadata, CommentMetadata? comment, ISourceExtent extent, out IResource? spec)'.

Artifacts

Produced during runtime
Name Size
CodeQL-Sarif Expired
66.4 KB
DevSkim-Sarif Expired
2.67 KB
Extension Expired
27.6 MB
Module Expired
3 MB
PSRule-Sarif Expired
698 Bytes
Results-PSRule Expired
9.45 KB