Skip to content

Add cancellation tokens to methods that have a parameter but we don't pass #48

Add cancellation tokens to methods that have a parameter but we don't pass

Add cancellation tokens to methods that have a parameter but we don't pass #48

Triggered via pull request June 4, 2024 19:43
Status Failure
Total duration 1m 41s
Artifacts

main.yml

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

Annotations

13 errors and 14 warnings
build (ubuntu-22.04)
No files were found with the provided path: artifacts/TestResults/**/*.trx. No artifacts will be uploaded.
build (ubuntu-22.04): Source/Moq.Analyzers/NoSealedClassMocksAnalyzer.cs#L48
Use an overload with a CancellationToken, available tokens: context.CancellationToken (https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0040.md)
build (ubuntu-22.04): Source/Moq.Analyzers/NoSealedClassMocksAnalyzer.cs#L57
Use an overload with a CancellationToken, available tokens: context.CancellationToken (https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0040.md)
build (ubuntu-22.04): Source/Moq.Analyzers/NoSealedClassMocksAnalyzer.cs#L48
Use an overload with a CancellationToken, available tokens: context.CancellationToken (https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0040.md)
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)
No files were found with the provided path: **/*.received.*. No artifacts will be uploaded.
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/NoConstructorArgumentsForInterfaceMockAnalyzer.cs#L36
Converting null literal or possible null value to non-nullable type.
build (windows-2022)
Debugging artifacts are unavailable since the 'init' Action failed before it could produce any.