Upgrade actions #2191
ci.yml
on: push
Build and run tests
42s
Matrix: Run cypress tests
Annotations
60 errors
Build and run tests:
src/api/BoreholeFileUploadService.cs#L44
'HashAlgorithm.ComputeHash(Stream)' synchronously blocks. Await 'HashAlgorithm.ComputeHashAsync(Stream, CancellationToken)' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849)
|
Build and run tests:
src/api/Controllers/UploadController.cs#L164
Prefer comparing 'Length' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Build and run tests:
src/api/Controllers/UploadController.cs#L177
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Build and run tests:
src/api/Controllers/UploadController.cs#L215
Number of parameters supplied in the logging message template do not match the number of named placeholders (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2017)
|
Build and run tests:
src/api/Controllers/CodeListController.cs#L45
Prefer comparing 'Length' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Build and run tests:
src/api/Controllers/HydrotestController.cs#L139
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Build and run tests:
src/api/Controllers/HydrotestController.cs#L194
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Build and run tests:
src/api/Controllers/HydrotestController.cs#L156
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Build and run tests:
src/api/Controllers/HydrotestController.cs#L156
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Build and run tests:
src/api/Controllers/HydrotestController.cs#L168
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (4):
src/api/BoreholeFileUploadService.cs#L44
'HashAlgorithm.ComputeHash(Stream)' synchronously blocks. Await 'HashAlgorithm.ComputeHashAsync(Stream, CancellationToken)' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849)
|
Run cypress tests (4):
src/api/Controllers/UploadController.cs#L164
Prefer comparing 'Length' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (4):
src/api/Controllers/UploadController.cs#L177
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (4):
src/api/Controllers/UploadController.cs#L215
Number of parameters supplied in the logging message template do not match the number of named placeholders (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2017)
|
Run cypress tests (4):
src/api/Controllers/HydrotestController.cs#L139
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (4):
src/api/Controllers/HydrotestController.cs#L194
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (4):
src/api/Controllers/HydrotestController.cs#L156
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (4):
src/api/Controllers/HydrotestController.cs#L156
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (4):
src/api/Controllers/HydrotestController.cs#L168
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (4):
src/api/Controllers/HydrotestController.cs#L168
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (3):
src/api/BoreholeFileUploadService.cs#L44
'HashAlgorithm.ComputeHash(Stream)' synchronously blocks. Await 'HashAlgorithm.ComputeHashAsync(Stream, CancellationToken)' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849)
|
Run cypress tests (3):
src/api/Controllers/CodeListController.cs#L45
Prefer comparing 'Length' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (3):
src/api/Controllers/HydrotestController.cs#L139
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (3):
src/api/Controllers/HydrotestController.cs#L156
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (3):
src/api/Controllers/HydrotestController.cs#L156
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (3):
src/api/Controllers/HydrotestController.cs#L168
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (3):
src/api/Controllers/HydrotestController.cs#L168
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (3):
src/api/Controllers/UploadController.cs#L164
Prefer comparing 'Length' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (3):
src/api/Controllers/UploadController.cs#L177
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (3):
src/api/Controllers/UploadController.cs#L215
Number of parameters supplied in the logging message template do not match the number of named placeholders (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2017)
|
Run cypress tests (5):
src/api/BoreholeFileUploadService.cs#L44
'HashAlgorithm.ComputeHash(Stream)' synchronously blocks. Await 'HashAlgorithm.ComputeHashAsync(Stream, CancellationToken)' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849)
|
Run cypress tests (5):
src/api/Controllers/UploadController.cs#L164
Prefer comparing 'Length' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (5):
src/api/Controllers/UploadController.cs#L177
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (5):
src/api/Controllers/UploadController.cs#L215
Number of parameters supplied in the logging message template do not match the number of named placeholders (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2017)
|
Run cypress tests (5):
src/api/Controllers/HydrotestController.cs#L139
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (5):
src/api/Controllers/HydrotestController.cs#L194
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (5):
src/api/Controllers/HydrotestController.cs#L156
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (5):
src/api/Controllers/HydrotestController.cs#L156
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (5):
src/api/Controllers/HydrotestController.cs#L168
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (5):
src/api/Controllers/HydrotestController.cs#L168
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (1):
src/api/BoreholeFileUploadService.cs#L44
'HashAlgorithm.ComputeHash(Stream)' synchronously blocks. Await 'HashAlgorithm.ComputeHashAsync(Stream, CancellationToken)' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849)
|
Run cypress tests (1):
src/api/Controllers/CodeListController.cs#L45
Prefer comparing 'Length' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (1):
src/api/Controllers/HydrotestController.cs#L139
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (1):
src/api/Controllers/HydrotestController.cs#L156
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (1):
src/api/Controllers/HydrotestController.cs#L156
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (1):
src/api/Controllers/HydrotestController.cs#L168
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (1):
src/api/Controllers/HydrotestController.cs#L168
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (1):
src/api/Controllers/HydrotestController.cs#L194
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (1):
src/api/Controllers/UploadController.cs#L164
Prefer comparing 'Length' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (1):
src/api/Controllers/UploadController.cs#L177
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (2):
src/api/BoreholeFileUploadService.cs#L44
'HashAlgorithm.ComputeHash(Stream)' synchronously blocks. Await 'HashAlgorithm.ComputeHashAsync(Stream, CancellationToken)' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849)
|
Run cypress tests (2):
src/api/Controllers/CodeListController.cs#L45
Prefer comparing 'Length' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (2):
src/api/Controllers/HydrotestController.cs#L139
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (2):
src/api/Controllers/HydrotestController.cs#L156
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (2):
src/api/Controllers/HydrotestController.cs#L156
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (2):
src/api/Controllers/HydrotestController.cs#L168
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (2):
src/api/Controllers/HydrotestController.cs#L168
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (2):
src/api/Controllers/HydrotestController.cs#L194
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (2):
src/api/Controllers/UploadController.cs#L164
Prefer comparing 'Length' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Run cypress tests (2):
src/api/Controllers/UploadController.cs#L177
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|