Skip to content

fix tests

fix tests #11

Triggered via push July 30, 2025 17:44
Status Success
Total duration 42s
Artifacts

dotnet.yml

on: push
build-and-test
38s
build-and-test
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build-and-test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-and-test: ManagedCode.MimeTypes.Generator/MimeTypeSourceGenerator.cs#L14
'ManagedCode.MimeTypes.Generator.MimeTypeSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
build-and-test: ManagedCode.MimeTypes.Generator/MimeTypeSourceGenerator.cs#L13
This compiler extension should not be implemented in an assembly with target framework '.NET 9.0'. References to other target frameworks will cause the compiler to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1041.md)
build-and-test: ManagedCode.MimeTypes.Generator/MimeTypeSourceGenerator.cs#L14
'ManagedCode.MimeTypes.Generator.MimeTypeSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
build-and-test: ManagedCode.MimeTypes.Generator/MimeTypeSourceGenerator.cs#L13
This compiler extension should not be implemented in an assembly with target framework '.NET 8.0'. References to other target frameworks will cause the compiler to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1041.md)
build-and-test: ManagedCode.MimeTypes.Tests/MimeCategoryTests.cs#L82
Null should not be used for type parameter 'mime' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012)
build-and-test: ManagedCode.MimeTypes.Tests/GeneratorTests.cs#L23
Possible null reference argument for parameter 'extension' in 'string MimeHelper.GetMimeType(string extension)'.
build-and-test: ManagedCode.MimeTypes.Generator/MimeTypeSourceGenerator.cs#L14
'ManagedCode.MimeTypes.Generator.MimeTypeSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
build-and-test: ManagedCode.MimeTypes.Generator/MimeTypeSourceGenerator.cs#L13
This compiler extension should not be implemented in an assembly with target framework '.NET 9.0'. References to other target frameworks will cause the compiler to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1041.md)
build-and-test: ManagedCode.MimeTypes.Generator/MimeTypeSourceGenerator.cs#L14
'ManagedCode.MimeTypes.Generator.MimeTypeSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
build-and-test: ManagedCode.MimeTypes.Generator/MimeTypeSourceGenerator.cs#L13
This compiler extension should not be implemented in an assembly with target framework '.NET 8.0'. References to other target frameworks will cause the compiler to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1041.md)