Skip to content

chore(deps): update dependency nunit to v4 #185

chore(deps): update dependency nunit to v4

chore(deps): update dependency nunit to v4 #185

Triggered via pull request December 21, 2024 19:10
Status Failure
Total duration 1m 30s
Artifacts

ci.yaml

on: pull_request
Test suite of example policy
59s
Test suite of example policy
Run e2e tests of the example policy
1m 21s
Run e2e tests of the example policy
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 21 warnings
Test suite of example policy: example/MyFirstKubewardenPolicy.Tests/ValidateTests.cs#L32
'Assert' does not contain a definition for 'IsTrue'
Test suite of example policy: example/MyFirstKubewardenPolicy.Tests/ValidateTests.cs#L36
'Assert' does not contain a definition for 'IsNotNull'
Test suite of example policy: example/MyFirstKubewardenPolicy.Tests/ValidateTests.cs#L40
'Assert' does not contain a definition for 'IsFalse'
Test suite of example policy: example/MyFirstKubewardenPolicy.Tests/ValidateTests.cs#L44
'Assert' does not contain a definition for 'IsNull'
Test suite of example policy: example/MyFirstKubewardenPolicy.Tests/ValidateTests.cs#L49
'Assert' does not contain a definition for 'IsTrue'
Test suite of example policy: example/MyFirstKubewardenPolicy.Tests/ValidateTests.cs#L53
'Assert' does not contain a definition for 'IsNull'
Test suite of example policy
Process completed with exit code 1.
Test suite of example policy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test suite of example policy: src/KubewardenPolicySDK/Kubewarden.cs#L38
Using member 'System.Text.Json.JsonSerializer.SerializeToUtf8Bytes<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Test suite of example policy: src/KubewardenPolicySDK/Kubewarden.cs#L78
Using member 'System.Text.Json.JsonSerializer.SerializeToUtf8Bytes<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Test suite of example policy: src/KubewardenPolicySDK/Kubewarden.cs#L65
Using member 'System.Text.Json.JsonSerializer.SerializeToUtf8Bytes<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Test suite of example policy: src/KubewardenPolicySDK/Kubewarden.cs#L21
Using member 'System.Text.Json.JsonSerializer.SerializeToUtf8Bytes<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Test suite of example policy: src/KubewardenPolicySDK/Kubewarden.cs#L93
Using member 'System.Text.Json.JsonSerializer.SerializeToUtf8Bytes<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Test suite of example policy: src/KubewardenPolicySDK/Kubewarden.cs#L113
Using member 'System.Text.Json.JsonSerializer.SerializeToUtf8Bytes<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Test suite of example policy
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
Run e2e tests of the example policy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run e2e tests of the example policy
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
Run e2e tests of the example policy: src/KubewardenPolicySDK/Kubewarden.cs#L78
Using member 'System.Text.Json.JsonSerializer.SerializeToUtf8Bytes<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Run e2e tests of the example policy: src/KubewardenPolicySDK/Kubewarden.cs#L38
Using member 'System.Text.Json.JsonSerializer.SerializeToUtf8Bytes<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Run e2e tests of the example policy: src/KubewardenPolicySDK/Kubewarden.cs#L21
Using member 'System.Text.Json.JsonSerializer.SerializeToUtf8Bytes<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Run e2e tests of the example policy: src/KubewardenPolicySDK/Kubewarden.cs#L65
Using member 'System.Text.Json.JsonSerializer.SerializeToUtf8Bytes<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Run e2e tests of the example policy: src/KubewardenPolicySDK/Kubewarden.cs#L93
Using member 'System.Text.Json.JsonSerializer.SerializeToUtf8Bytes<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Run e2e tests of the example policy: src/KubewardenPolicySDK/Kubewarden.cs#L113
Using member 'System.Text.Json.JsonSerializer.SerializeToUtf8Bytes<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Run e2e tests of the example policy: src/KubewardenPolicySDK/Kubewarden.cs#L78
Using member 'System.Text.Json.JsonSerializer.SerializeToUtf8Bytes<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Run e2e tests of the example policy: src/KubewardenPolicySDK/Kubewarden.cs#L38
Using member 'System.Text.Json.JsonSerializer.SerializeToUtf8Bytes<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Run e2e tests of the example policy: src/KubewardenPolicySDK/Kubewarden.cs#L21
Using member 'System.Text.Json.JsonSerializer.SerializeToUtf8Bytes<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Run e2e tests of the example policy: src/KubewardenPolicySDK/Kubewarden.cs#L65
Using member 'System.Text.Json.JsonSerializer.SerializeToUtf8Bytes<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Run e2e tests of the example policy
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']