Fix input path directory handling #1842 #1429
build.yaml
on: pull_request
Build
2m 33s
Build extension
1m 27s
Build docs
46s
🔍 Analyze with PSRule
34s
🔍 Analyze with DevSkim
43s
🔍 Analyze with CodeQL
3m 36s
Matrix: test
Matrix: test_extension
Annotations
38 warnings
🔍 Analyze with PSRule
Target object 'tests/PSRule.Types.Tests/PSRule.Types.Tests.csproj' has not been processed because no matching rules were found.
|
🔍 Analyze with PSRule
Target object 'tests/PSRule.CommandLine.Tests/PSRule.CommandLine.Tests.csproj' has not been processed because no matching rules were found.
|
🔍 Analyze with PSRule
Target object 'tests/PSRule.Tool.Tests/PSRule.Tool.Tests.csproj' has not been processed because no matching rules were found.
|
🔍 Analyze with PSRule
Target object 'tests/PSRule.Tests/PSRule.Tests.csproj' has not been processed because no matching rules were found.
|
🔍 Analyze with PSRule
Target object 'src/PSRule.MSBuild/PSRule.MSBuild.csproj' has not been processed because no matching rules were found.
|
🔍 Analyze with PSRule
Target object 'src/PSRule.Types/PSRule.Types.csproj' has not been processed because no matching rules were found.
|
🔍 Analyze with PSRule
Target object 'src/PSRule.EditorServices/PSRule.EditorServices.csproj' has not been processed because no matching rules were found.
|
🔍 Analyze with PSRule
Target object 'src/PSRule.Badges/PSRule.Badges.csproj' has not been processed because no matching rules were found.
|
🔍 Analyze with PSRule
Target object 'src/PSRule.Benchmark/PSRule.Benchmark.csproj' has not been processed because no matching rules were found.
|
🔍 Analyze with PSRule
Target object 'src/PSRule/PSRule.Format.ps1xml' 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/Commands/ExportConventionCommand.cs#L86
Dereference of a possibly null reference.
|
Build extension:
src/PSRule/Converters/Json/LockEntryIntegrityJsonConverter.cs#L34
The result of the expression is always 'false' since a value of type 'IntegrityAlgorithm' is never equal to 'null' of type 'IntegrityAlgorithm?'
|
Build extension:
src/PSRule/Emitters/InternalFileInfo.cs#L32
The type 'InternalFileStream' in '/home/runner/work/PSRule/PSRule/src/PSRule/Emitters/InternalFileStream.cs' conflicts with the imported type 'InternalFileStream' in 'Microsoft.PSRule.Types, Version=0.0.1.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/PSRule/PSRule/src/PSRule/Emitters/InternalFileStream.cs'.
|
Build extension:
src/PSRule/Runtime/RunspaceContext.cs#L601
Dereference of a possibly null reference.
|
Build extension:
src/PSRule/Runtime/RunspaceContext.cs#L596
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 extension:
src/PSRule/Runtime/RunspaceContext.cs#L597
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 extension:
src/PSRule/Runtime/RunspaceContext.cs#L598
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 extension:
src/PSRule/Runtime/RunspaceContext.cs#L659
Possible null reference argument for parameter 'name' in 'bool ILanguageScopeSet.TryScope(string name, out ILanguageScope? scope)'.
|
Build extension:
src/PSRule/Runtime/RunspaceContext.cs#L659
Dereference of a possibly null reference.
|
Build extension:
src/PSRule/Runtime/RunspaceContext.cs#L659
Possible null reference argument for parameter 'name' in 'object? ILanguageScope.GetService(string name)'.
|
🧪 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
|
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build:
src/PSRule/Commands/ExportConventionCommand.cs#L86
Dereference of a possibly null reference.
|
Build:
src/PSRule/Converters/Json/LockEntryIntegrityJsonConverter.cs#L34
The result of the expression is always 'false' since a value of type 'IntegrityAlgorithm' is never equal to 'null' of type 'IntegrityAlgorithm?'
|
Build:
src/PSRule/Definitions/Conventions/ConventionExtensions.cs#L52
Dereference of a possibly null reference.
|
Build:
src/PSRule/Runtime/RunspaceContext.cs#L601
Dereference of a possibly null reference.
|
Build:
src/PSRule/Runtime/RunspaceContext.cs#L596
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#L597
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#L598
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/Pipeline/Dependencies/LockEntryIntegrity.cs#L25
Non-nullable property 'Hash' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
src/PSRule/Runtime/RunspaceContext.cs#L659
Possible null reference argument for parameter 'name' in 'bool ILanguageScopeSet.TryScope(string name, out ILanguageScope? scope)'.
|
Build:
src/PSRule/Runtime/RunspaceContext.cs#L659
Dereference of a possibly null reference.
|
🧪 Test (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
|
🔍 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 (linux-x64-pwsh)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
CodeQL-Sarif
Expired
|
64.4 KB |
|
DevSkim-Sarif
Expired
|
2.66 KB |
|
Extension
Expired
|
25.5 MB |
|
Module
Expired
|
2.98 MB |
|
PSRule-Sarif
Expired
|
698 Bytes |
|
Results-PSRule
Expired
|
8.73 KB |
|