Skip to content

Added position permissions to the enum #4442

Added position permissions to the enum

Added position permissions to the enum #4442

Triggered via push December 21, 2024 21:57
Status Failure
Total duration 3m 56s
Artifacts

dotnetcore.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 31 warnings
test (macOS-latest)
Process completed with exit code 1.
test (windows-latest)
The job was canceled because "macOS-latest" failed.
test (windows-latest)
The operation was canceled.
test (ubuntu-latest)
The job was canceled because "macOS-latest" failed.
test (ubuntu-latest)
The operation was canceled.
SonarCloud
Process completed with exit code 1.
test (macOS-latest): OutOfSchool/OutOfSchool.Common/Models/ExternalAuth/EnvelopedUserInfoResponse.cs#L5
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macOS-latest): OutOfSchool/OutOfSchool.ElasticsearchData/IElasticsearchProvider.cs#L99
XML comment has badly formed XML -- 'Expected an end tag for element 'returns'.'
test (macOS-latest): OutOfSchool/OutOfSchool.DataAccess/Repository/Base/Api/IEntityAddOnlyRepository.cs#L100
XML comment has badly formed XML -- 'Expected an end tag for element 'returns'.'
test (macOS-latest): OutOfSchool/OutOfSchool.DataAccess/Repository/EmployeeRepository.cs#L22
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macOS-latest): OutOfSchool/OutOfSchool.DataAccess/Repository/Api/IEmployeeRepository.cs#L20
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macOS-latest): OutOfSchool/OutOfSchool.DataAccess/Models/Individual.cs#L32
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macOS-latest): OutOfSchool/OutOfSchool.DataAccess/Models/Individual.cs#L34
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macOS-latest): OutOfSchool/OutOfSchool.DataAccess/Models/User.cs#L43
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macOS-latest): OutOfSchool/OutOfSchool.DataAccess/Common/Exceptions/FileStorageException.cs#L33
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
test (ubuntu-latest): OutOfSchool/OutOfSchool.Common/Models/ExternalAuth/EnvelopedUserInfoResponse.cs#L5
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): OutOfSchool/OutOfSchool.DataAccess/Repository/Base/Api/IEntityAddOnlyRepository.cs#L100
XML comment has badly formed XML -- 'Expected an end tag for element 'returns'.'
test (ubuntu-latest): OutOfSchool/OutOfSchool.DataAccess/Models/Individual.cs#L32
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): OutOfSchool/OutOfSchool.DataAccess/Models/Individual.cs#L34
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): OutOfSchool/OutOfSchool.DataAccess/Repository/Api/IEmployeeRepository.cs#L20
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): OutOfSchool/OutOfSchool.DataAccess/Models/User.cs#L43
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): OutOfSchool/OutOfSchool.DataAccess/Repository/EmployeeRepository.cs#L22
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): OutOfSchool/OutOfSchool.DataAccess/Common/Exceptions/FileStorageException.cs#L33
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
SonarCloud
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
SonarCloud: OutOfSchool/OutOfSchool.EmailSender/Quartz/EmailSenderJobListener.cs#L53
Remove this redundant jump. (https://rules.sonarsource.com/csharp/RSPEC-3626)
SonarCloud: OutOfSchool/OutOfSchool.EmailSender/Services/EmailSenderService.cs#L51
Make 'EncodeToBase64' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
SonarCloud: OutOfSchool/OutOfSchool.EmailSender/Quartz/EmailSenderJob.cs#L101
Make 'DecodeFrom64' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
SonarCloud: OutOfSchool/OutOfSchool.EmailSender/Quartz/EmailSenderJob.cs#L88
Logging in a catch clause should pass the caught exception as a parameter. (https://rules.sonarsource.com/csharp/RSPEC-6667)
SonarCloud: OutOfSchool/OutOfSchool.EmailSender/Quartz/EmailSenderJob.cs#L93
Logging in a catch clause should pass the caught exception as a parameter. (https://rules.sonarsource.com/csharp/RSPEC-6667)
SonarCloud: OutOfSchool/OutOfSchool.EmailSender/Senders/SendGridEmailSender.cs#L46
'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)
SonarCloud: OutOfSchool/OutOfSchool.Common/Models/ExternalAuth/EnvelopedUserInfoResponse.cs#L5
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
SonarCloud: OutOfSchool/OutOfSchool.Common/Communication/CommunicationService.cs#L60
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
SonarCloud: OutOfSchool/OutOfSchool.Common/IdentityResourceClaimsTypes.cs#L11
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
SonarCloud: OutOfSchool/OutOfSchool.Common/IdentityResourceClaimsTypes.cs#L17
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)