Skip to content

Add NUnit tests;

Add NUnit tests; #168

Triggered via pull request July 29, 2024 05:36
@uink45uink45
synchronize #16
dev
Status Success
Total duration 5m 14s
Artifacts

lantern-beacon.yml

on: pull_request
Build and Test
56s
Build and Test
Build and analyze SonarCloud
4m 0s
Build and analyze SonarCloud
Fit to window
Zoom out
Zoom in

Annotations

22 warnings
Build and Test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-dotnet@v3, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build and Test: lib/SszSharp/SszSharp/SszUnionWrapper.cs#L34
Possible null reference return.
Build and Test: lib/SszSharp/SszSharp/SszUnionWrapper.cs#L36
Dereference of a possibly null reference.
Build and Test: lib/SszSharp/SszSharp/SszUnionWrapper.cs#L39
Converting null literal or possible null value to non-nullable type.
Build and Test: lib/SszSharp/SszSharp/SszUnionWrapper.cs#L39
Possible null reference return.
Build and Test: lib/SszSharp/SszSharp/SszSchemaGenerator.cs#L14
Dereference of a possibly null reference.
Build and Test: lib/SszSharp/SszSharp/SszSchemaGenerator.cs#L58
Possible null reference argument for parameter 'source' in 'IEnumerable<object> Enumerable.Cast<object>(IEnumerable source)'.
Build and Test: lib/SszSharp/SszSharp/SszSchemaGenerator.cs#L158
Possible null reference argument for parameter 'targetType' in 'object? SszSchemaGenerator.Unwrap(ISszType sourceType, Type targetType, object? value)'.
Build and Test: lib/SszSharp/SszSharp/SszSchemaGenerator.cs#L162
Argument of type 'Type?[]' cannot be used for parameter 'typeArguments' of type 'Type[]' in 'MethodInfo MethodInfo.MakeGenericMethod(params Type[] typeArguments)' due to differences in the nullability of reference types.
Build and Test: lib/SszSharp/SszSharp/SszSchemaGenerator.cs#L163
Possible null reference argument for parameter 't' in 'object ReflectionHelpers.GetTypedEnumerable(object o, Type t)'.
Build and Test: lib/SszSharp/SszSharp/SszSchemaGenerator.cs#L165
Argument of type 'Type?[]' cannot be used for parameter 'typeArguments' of type 'Type[]' in 'Type Type.MakeGenericType(params Type[] typeArguments)' due to differences in the nullability of reference types.
Build and analyze SonarCloud
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-dotnet@v3, actions/setup-java@v3, actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build and analyze SonarCloud: lib/cortex/src/Cortex.Containers/BeaconBlock.cs#L23
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build and analyze SonarCloud: lib/cortex/src/Cortex.Containers/Transfer.cs#L3
Remove this empty namespace. (https://rules.sonarsource.com/csharp/RSPEC-3261)
Build and analyze SonarCloud: lib/cortex/src/Cortex.Containers/BeaconBlockBody.cs#L67
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build and analyze SonarCloud: lib/cortex/src/Cortex.Containers/BeaconState.cs#L13
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build and analyze SonarCloud: lib/cortex/src/Cortex.Containers/BeaconState.cs#L19
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build and analyze SonarCloud: lib/cortex/src/Cortex.Containers/BeaconState.cs#L93
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build and analyze SonarCloud: lib/cortex/src/Cortex.Containers/BeaconState.cs#L131
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build and analyze SonarCloud: lib/cortex/src/Cortex.Containers/BlsPublicKey.cs#L10
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build and analyze SonarCloud: lib/cortex/src/Cortex.Containers/Transfer.cs#L6
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build and analyze SonarCloud: lib/cortex/src/Cortex.Containers/AttestationData.cs#L5
Seal class 'AttestationData' or implement 'IEqualityComparer<T>' instead. (https://rules.sonarsource.com/csharp/RSPEC-4035)