Upgrade .NET from 6.0 to 8.0 #7516
backend.yml
on: pull_request
Matrix: test_build
CodeQL_build
1m 46s
docker_build
50s
upload_coverage
0s
Annotations
21 errors and 1 warning
docker_build
Process completed with exit code 1.
|
test_build (8.0.x):
Backend/Startup.cs#L151
Possible null reference assignment.
|
test_build (8.0.x):
Backend/Startup.cs#L152
Possible null reference assignment.
|
test_build (8.0.x):
Backend/Helper/Language.cs#L46
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)
|
test_build (8.0.x):
Backend/Controllers/UserRoleController.cs#L111
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
|
test_build (8.0.x):
Backend/Services/LiftService.cs#L144
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
|
test_build (8.0.x):
Backend/Services/LiftService.cs#L36
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)
|
test_build (8.0.x):
Backend/Services/LiftService.cs#L162
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
|
test_build (8.0.x):
Backend/Services/LiftService.cs#L193
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
|
test_build (8.0.x):
Backend/Services/LiftService.cs#L217
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)
|
test_build (8.0.x):
Backend/Services/PasswordResetService.cs#L48
Prefer using 'string.Equals(string, StringComparison)' to perform a case-insensitive comparison, but keep in mind that this might cause subtle changes in behavior, so make sure to conduct thorough testing after applying the suggestion, or if culturally sensitive comparison is not required, consider using 'StringComparison.OrdinalIgnoreCase' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1862)
|
CodeQL_build:
Backend/Startup.cs#L151
Possible null reference assignment.
|
CodeQL_build:
Backend/Startup.cs#L152
Possible null reference assignment.
|
CodeQL_build:
Backend/Controllers/UserRoleController.cs#L111
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
|
CodeQL_build:
Backend/Controllers/UserRoleController.cs#L235
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
|
CodeQL_build:
Backend/Helper/Language.cs#L46
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)
|
CodeQL_build:
Backend/Services/StatisticsService.cs#L35
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)
|
CodeQL_build:
Backend/Services/StatisticsService.cs#L35
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)
|
CodeQL_build:
Backend/Services/StatisticsService.cs#L94
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
|
CodeQL_build:
Backend/Services/StatisticsService.cs#L109
To avoid double lookup, call 'TryAdd' instead of calling 'Add' with a 'ContainsKey' guard (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1864)
|
CodeQL_build:
Backend/Services/StatisticsService.cs#L69
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)
|
CodeQL_build
No files were found with the provided path: /home/runner/work/_temp/*.log. No artifacts will be uploaded.
|