Skip to content

Bump Microsoft.PowerShell.SDK from 7.4.13 to 7.6.0 #3142

Bump Microsoft.PowerShell.SDK from 7.4.13 to 7.6.0

Bump Microsoft.PowerShell.SDK from 7.4.13 to 7.6.0 #3142

Triggered via pull request April 14, 2026 08:09
Status Failure
Total duration 4m 34s
Artifacts 2

build.yaml

on: pull_request
Build extension
1m 6s
Build extension
Build docs
53s
Build docs
🔍 Analyze with PSRule
27s
🔍 Analyze with PSRule
🔍 Analyze with DevSkim
36s
🔍 Analyze with DevSkim
🔍 Analyze with CodeQL
3m 28s
🔍 Analyze with CodeQL
🧪 Test GitHub actions
0s
🧪 Test GitHub actions
Matrix: test_module
Matrix: test_extension
Fit to window
Zoom out
Zoom in

Annotations

23 errors and 22 warnings
Build extension: src/PSRule.CommandLine/Commands/ModuleCommand.cs#L492
The type or namespace name 'PSModuleInfo' could not be found (are you missing a using directive or an assembly reference?)
Build extension: src/PSRule.CommandLine/Commands/ModuleCommand.cs#L477
The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?)
Build extension: src/PSRule.CommandLine/Commands/ModuleCommand.cs#L450
The type or namespace name 'PowerShell' could not be found (are you missing a using directive or an assembly reference?)
Build extension: src/PSRule.CommandLine/Models/SessionContext.cs#L29
The type or namespace name 'ActionPreference' could not be found (are you missing a using directive or an assembly reference?)
Build extension: src/PSRule.CommandLine/Commands/ModuleCommand.cs#L404
The type or namespace name 'PowerShell' could not be found (are you missing a using directive or an assembly reference?)
Build extension: src/PSRule.CommandLine/ClientHost.cs#L43
The type 'ActionPreference' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Build extension: src/PSRule.CommandLine/ClientHost.cs#L43
The type or namespace name 'ActionPreference' could not be found (are you missing a using directive or an assembly reference?)
Build extension: src/PSRule.CommandLine/Models/SessionContext.cs#L4
The type or namespace name 'Management' does not exist in the namespace 'System' (are you missing an assembly reference?)
Build extension: src/PSRule.CommandLine/Commands/ModuleCommand.cs#L6
The type or namespace name 'Management' does not exist in the namespace 'System' (are you missing an assembly reference?)
Build extension: src/PSRule.CommandLine/ClientHost.cs#L4
The type or namespace name 'Management' does not exist in the namespace 'System' (are you missing an assembly reference?)
Build module
No files were found with the provided path: ./reports/ps-rule*.xml. No artifacts will be uploaded.
Build module: src/PSRule.CommandLine/Models/SessionContext.cs#L29
The type or namespace name 'ActionPreference' could not be found (are you missing a using directive or an assembly reference?)
Build module: src/PSRule.CommandLine/Commands/ModuleCommand.cs#L641
The type or namespace name 'PowerShell' could not be found (are you missing a using directive or an assembly reference?)
Build module: src/PSRule.CommandLine/Commands/ModuleCommand.cs#L492
The type or namespace name 'PSModuleInfo' could not be found (are you missing a using directive or an assembly reference?)
Build module: src/PSRule.CommandLine/Commands/ModuleCommand.cs#L477
The type or namespace name 'PSObject' could not be found (are you missing a using directive or an assembly reference?)
Build module: src/PSRule.CommandLine/Commands/ModuleCommand.cs#L450
The type or namespace name 'PowerShell' could not be found (are you missing a using directive or an assembly reference?)
Build module: src/PSRule.CommandLine/Commands/ModuleCommand.cs#L404
The type or namespace name 'PowerShell' could not be found (are you missing a using directive or an assembly reference?)
Build module: src/PSRule.CommandLine/ClientHost.cs#L43
The type or namespace name 'ActionPreference' could not be found (are you missing a using directive or an assembly reference?)
Build module: src/PSRule.CommandLine/Models/SessionContext.cs#L4
The type or namespace name 'Management' does not exist in the namespace 'System' (are you missing an assembly reference?)
Build module: src/PSRule.CommandLine/Commands/ModuleCommand.cs#L6
The type or namespace name 'Management' does not exist in the namespace 'System' (are you missing an assembly reference?)
Build module: src/PSRule.CommandLine/ClientHost.cs#L4
The type or namespace name 'Management' does not exist in the namespace 'System' (are you missing an assembly reference?)
🔍 Analyze with CodeQL
Input required and not supplied: path
🔍 Analyze with CodeQL
We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.25.1/x64/codeql/csharp/tools/autobuild.sh". Exit code was 1 and last log line was: Error: Could not auto-detect a suitable build method. See the logs for more details.
Build extension: src/PSRule/Runtime/Binding/TargetBindingResult.cs#L36
Nullability of reference types in return type of 'Hashtable? TargetBindingResult.Field.get' doesn't match implicitly implemented member 'Hashtable ITargetBindingResult.Field.get' (possibly because of nullability attributes).
Build extension: src/PSRule/Definitions/Rules/RuleV1Script.cs#L64
Nullability of reference types in return type doesn't match implemented member 'InfoString IRuleV1.Recommendation.get' (possibly because of nullability attributes).
Build extension: src/PSRule/Runtime/ObjectPath/PathToken.cs#L32
Nullability of reference types in return type of 'T? PathToken.As<T>()' doesn't match implicitly implemented member 'T IPathToken.As<T>()' (possibly because of nullability attributes).
Build extension: src/PSRule/Runtime/LoggerFactory.cs#L11
Nullability of reference types in return type of 'ILogger? LoggerFactory.Create(string categoryName)' doesn't match implicitly implemented member 'ILogger ILoggerFactory.Create(string categoryName)' (possibly because of nullability attributes).
Build extension: src/PSRule/Rules/RuleRecord.cs#L162
Nullability of reference types in return type of 'Hashtable? RuleRecord.Tag.get' doesn't match implicitly implemented member 'Hashtable IRuleResultV2.Tag.get' (possibly because of nullability attributes).
Build extension: src/PSRule/Rules/RuleRecord.cs#L64
Nullability of reference types in return type of 'string? RuleRecord.RunId.get' doesn't match implicitly implemented member 'string IRuleResultV2.RunId.get' (possibly because of nullability attributes).
Build extension: src/PSRule/Rules/RuleRecord.cs#L155
Nullability of reference types in return type of 'Hashtable? RuleRecord.Field.get' doesn't match implicitly implemented member 'Hashtable IDetailedRuleResultV2.Field.get' (possibly because of nullability attributes).
Build extension: src/PSRule/Rules/RuleRecord.cs#L149
Nullability of reference types in return type of 'Hashtable? RuleRecord.Data.get' doesn't match implicitly implemented member 'Hashtable IDetailedRuleResultV2.Data.get' (possibly because of nullability attributes).
Build extension: src/PSRule/Rules/IRuleBlock.cs#L16
'IRuleBlock.Info' hides inherited member 'IResource.Info'. Use the new keyword if hiding was intended.
Build extension: src/PSRule/Common/JsonCommentWriter.cs#L13
Nullability of type of parameter 'text' doesn't match overridden member (possibly because of nullability attributes).
Build module: src/PSRule/Runtime/PSRule.cs#L43
Nullability of reference types in return type of 'TargetSourceInfo? PSRuleSource.this[string type].get' doesn't match implicitly implemented member 'TargetSourceInfo ITargetSourceCollection.this[string type].get' (possibly because of nullability attributes).
Build module: src/PSRule/Runtime/Binding/TargetBindingResult.cs#L36
Nullability of reference types in return type of 'Hashtable? TargetBindingResult.Field.get' doesn't match implicitly implemented member 'Hashtable ITargetBindingResult.Field.get' (possibly because of nullability attributes).
Build module: src/PSRule/Runtime/LoggerFactory.cs#L11
Nullability of reference types in return type of 'ILogger? LoggerFactory.Create(string categoryName)' doesn't match implicitly implemented member 'ILogger ILoggerFactory.Create(string categoryName)' (possibly because of nullability attributes).
Build module: src/PSRule/Definitions/Rules/RuleV1Script.cs#L64
Nullability of reference types in return type doesn't match implemented member 'InfoString IRuleV1.Recommendation.get' (possibly because of nullability attributes).
Build module: src/PSRule/Rules/RuleRecord.cs#L162
Nullability of reference types in return type of 'Hashtable? RuleRecord.Tag.get' doesn't match implicitly implemented member 'Hashtable IRuleResultV2.Tag.get' (possibly because of nullability attributes).
Build module: src/PSRule/Rules/RuleRecord.cs#L64
Nullability of reference types in return type of 'string? RuleRecord.RunId.get' doesn't match implicitly implemented member 'string IRuleResultV2.RunId.get' (possibly because of nullability attributes).
Build module: src/PSRule/Rules/RuleRecord.cs#L155
Nullability of reference types in return type of 'Hashtable? RuleRecord.Field.get' doesn't match implicitly implemented member 'Hashtable IDetailedRuleResultV2.Field.get' (possibly because of nullability attributes).
Build module: src/PSRule/Rules/RuleRecord.cs#L149
Nullability of reference types in return type of 'Hashtable? RuleRecord.Data.get' doesn't match implicitly implemented member 'Hashtable IDetailedRuleResultV2.Data.get' (possibly because of nullability attributes).
Build module: src/PSRule/Rules/IRuleBlock.cs#L16
'IRuleBlock.Info' hides inherited member 'IResource.Info'. Use the new keyword if hiding was intended.
Build module: src/PSRule/Common/JsonCommentWriter.cs#L13
Nullability of type of parameter 'text' doesn't match overridden member (possibly because of nullability attributes).
🔍 Analyze with CodeQL
Starting April 2026, the CodeQL Action will skip computing file coverage information on pull requests to improve analysis performance. File coverage information will still be computed on non-PR analyses. To opt out of this change, set the `CODEQL_ACTION_FILE_COVERAGE_ON_PRS` environment variable to `true`. Alternatively, create a custom repository property with the name `github-codeql-file-coverage-on-prs` and the type "True/false", then set this property to `true` in the repository's settings.
🔍 Analyze with CodeQL
Cannot build an overlay database because build-mode is set to "undefined" instead of "none". Falling back to creating a normal full database instead.

Artifacts

Produced during runtime
Name Size Digest
DevSkim-Sarif Expired
2.85 KB
sha256:2948ef47ff0f25eadfc47f8270b9db4944de7d7102b25c432d5665296c2ad66d
PSRule-Sarif Expired
700 Bytes
sha256:752b86aa648a7705b045fc387ee4bed8adcb967d842f0db1e83e3a20ec00d024