Skip to content

Bump Microsoft.Extensions.DependencyInjection from 8.0.1 to 9.0.0 #1281

Bump Microsoft.Extensions.DependencyInjection from 8.0.1 to 9.0.0

Bump Microsoft.Extensions.DependencyInjection from 8.0.1 to 9.0.0 #1281

Triggered via pull request November 21, 2024 16:53
Status Failure
Total duration 1m 42s
Artifacts

build.yaml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
Build
No files were found with the provided path: ./reports/ps-rule*.xml. No artifacts will be uploaded.
Build
Process completed with exit code 1.
Build: src/PSRule/Commands/ExportConventionCommand.cs#L86
Dereference of a possibly null reference.
Build: src/PSRule/Runtime/RunspaceContext.cs#L599
Dereference of a possibly null reference.
Build: src/PSRule/Runtime/RunspaceContext.cs#L594
Possible null reference argument for parameter 'targetObject' in 'RuleRecord.RuleRecord(string runId, ResourceId ruleId, string @ref, TargetObject targetObject, string targetName, string targetType, IResourceTags tag, RuleHelpInfo info, Hashtable field, RuleProperties @default, ISourceExtent extent, RuleOutcome outcome = RuleOutcome.None, RuleOutcomeReason reason = RuleOutcomeReason.None, RuleOverride? @OverRide = null)'.
Build: src/PSRule/Runtime/RunspaceContext.cs#L595
Possible null reference argument for parameter 'targetName' in 'RuleRecord.RuleRecord(string runId, ResourceId ruleId, string @ref, TargetObject targetObject, string targetName, string targetType, IResourceTags tag, RuleHelpInfo info, Hashtable field, RuleProperties @default, ISourceExtent extent, RuleOutcome outcome = RuleOutcome.None, RuleOutcomeReason reason = RuleOutcomeReason.None, RuleOverride? @OverRide = null)'.
Build: src/PSRule/Runtime/RunspaceContext.cs#L596
Possible null reference argument for parameter 'targetType' in 'RuleRecord.RuleRecord(string runId, ResourceId ruleId, string @ref, TargetObject targetObject, string targetName, string targetType, IResourceTags tag, RuleHelpInfo info, Hashtable field, RuleProperties @default, ISourceExtent extent, RuleOutcome outcome = RuleOutcome.None, RuleOutcomeReason reason = RuleOutcomeReason.None, RuleOverride? @OverRide = null)'.
Build: src/PSRule/Runtime/RunspaceContext.cs#L662
Dereference of a possibly null reference.
Build: src/PSRule/Runtime/RunspaceContext.cs#L662
Possible null reference argument for parameter 'name' in 'object? ILanguageScope.GetService(string name)'.
Build: src/PSRule/Runtime/RunspaceContext.cs#L827
Dereference of a possibly null reference.
Build: src/PSRule/Pipeline/ResourceCacheBuilder.cs#L14
Non-nullable field '_Resources' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Build: src/PSRule/Pipeline/OptionContext.cs#L17
Non-nullable field '_Convention' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.