Skip to content

Update analyzer, refactor code, and add abstract class support #18

Update analyzer, refactor code, and add abstract class support

Update analyzer, refactor code, and add abstract class support #18

Triggered via pull request May 31, 2024 22:38
Status Failure
Total duration 1m 35s
Artifacts 2

main.yml

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

Annotations

3 errors and 14 warnings
build (ubuntu-22.04)
Process completed with exit code 1.
build (windows-2022)
The job was canceled because "ubuntu-22_04" failed.
build (windows-2022)
The operation was canceled.
build (ubuntu-22.04)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (ubuntu-22.04)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (ubuntu-22.04): Source/Moq.Analyzers/Helpers.cs#L53
Possible null reference return.
build (ubuntu-22.04): Source/Moq.Analyzers/Helpers.cs#L54
Possible null reference return.
build (ubuntu-22.04): Source/Moq.Analyzers/Helpers.cs#L61
Possible null reference return.
build (ubuntu-22.04): Source/Moq.Analyzers/Helpers.cs#L67
Possible null reference return.
build (ubuntu-22.04): Source/Moq.Analyzers/Helpers.cs#L75
Possible null reference argument for parameter 'expression' in 'IEnumerable<IMethodSymbol> Helpers.GetAllMatchingSymbols<IMethodSymbol>(SemanticModel semanticModel, ExpressionSyntax expression)'.
build (ubuntu-22.04): Source/Moq.Analyzers/Helpers.cs#L87
Possible null reference argument for parameter 'item' in 'void List<T>.Add(T item)'.
build (ubuntu-22.04): Source/Moq.Analyzers/NoSealedClassMocksAnalyzer.cs#L35
Converting null literal or possible null value to non-nullable type.
build (ubuntu-22.04): Source/Moq.Analyzers/NoSealedClassMocksAnalyzer.cs#L39
Dereference of a possibly null reference.
build (ubuntu-22.04): Source/Moq.Analyzers/NoSealedClassMocksAnalyzer.cs#L39
Converting null literal or possible null value to non-nullable type.
build (ubuntu-22.04): Source/Moq.Analyzers/MoqMethodDescriptor.cs#L28
Possible null reference argument for parameter 'methodName' in 'bool MoqMethodDescriptor.DoesShortMethodMatch(string methodName)'.
build (windows-2022)
Debugging artifacts are unavailable since the 'init' Action failed before it could produce any.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "verify-test-results". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
.NET Test Reports (ubuntu-22.04) Expired
3.69 KB
verify-test-results Expired
1.5 KB