Skip to content

Merge pull request #267 from COS301-SE-2024/dev/fix/null_ref #20

Merge pull request #267 from COS301-SE-2024/dev/fix/null_ref

Merge pull request #267 from COS301-SE-2024/dev/fix/null_ref #20

Triggered via push September 22, 2024 13:47
Status Success
Total duration 3m 25s
Artifacts 1
Fit to window
Zoom out
Zoom in

Annotations

25 warnings
test / dotnet-codecov
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
test / dotnet-codecov: dotnet/BeakPeekApi/Helpers/Int32WithCommaConverter.cs#L10
Nullability of type of parameter 'text' doesn't match overridden member (possibly because of nullability attributes).
test / dotnet-codecov: dotnet/BeakPeekApi/Helpers/Int32WithCommaConverter.cs#L24
Possible null reference argument for parameter 'context' in 'TypeConverterException.TypeConverterException(ITypeConverter typeConverter, MemberMapData memberMapData, string? text, CsvContext context, string message)'.
test / dotnet-codecov: dotnet/BeakPeekApi/Models/ProvinceList.cs#L33
Possible null reference assignment.
test / dotnet-codecov: dotnet/BeakPeekApi/Models/ProvinceList.cs#L25
Non-nullable property 'Province_Birds' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test / dotnet-codecov: dotnet/BeakPeekApi/Models/Dto.cs#L31
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test / dotnet-codecov: dotnet/BeakPeekApi/Models/Dto.cs#L32
Non-nullable property 'Birds' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test / dotnet-codecov: dotnet/BeakPeekApi/Models/Dto.cs#L21
Non-nullable property 'Image_Url' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test / dotnet-codecov: dotnet/BeakPeekApi/Models/Dto.cs#L23
Non-nullable property 'Info' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test / dotnet-codecov: dotnet/BeakPeekApi/Models/Dto.cs#L25
Non-nullable property 'Provinces' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test / dotnet-codecov: dotnet/BeakPeekApi/Models/BirdInfoModel.cs#L56
Non-nullable property '_Content' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v1, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: dotnet/BeakPeekApi/Helpers/Int32WithCommaConverter.cs#L10
Nullability of type of parameter 'text' doesn't match overridden member (possibly because of nullability attributes).
build: dotnet/BeakPeekApi/Helpers/Int32WithCommaConverter.cs#L24
Possible null reference argument for parameter 'context' in 'TypeConverterException.TypeConverterException(ITypeConverter typeConverter, MemberMapData memberMapData, string? text, CsvContext context, string message)'.
build: dotnet/BeakPeekApi/Helpers/CsvImporter.cs#L297
Non-nullable property 'Pentad' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: dotnet/BeakPeekApi/Helpers/CsvImporter.cs#L299
Non-nullable property 'Common_group' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: dotnet/BeakPeekApi/Helpers/CsvImporter.cs#L300
Non-nullable property 'Common_species' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: dotnet/BeakPeekApi/Helpers/CsvImporter.cs#L301
Non-nullable property 'Genus' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: dotnet/BeakPeekApi/Helpers/CsvImporter.cs#L302
Non-nullable property 'Species' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: dotnet/BeakPeekApi/Models/ProvinceList.cs#L33
Possible null reference assignment.
build: dotnet/BeakPeekApi/Models/ProvinceList.cs#L25
Non-nullable property 'Province_Birds' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: dotnet/BeakPeekApi/Models/Dto.cs#L31
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
deploy
The following actions use a deprecated Node.js version and will be forced to run on node20: azure/login@v1, actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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: ".net-app". 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-app Expired
138 MB