Bump actions/cache from 3 to 4 #588
Annotations
20 warnings
DotNet Test Preview:
tests/ImageSharp.Web.Tests/TestUtilities/TestServerFixture.cs#L71
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
DotNet Test Preview:
tests/ImageSharp.Web.Tests/Helpers/ExifOrientationUtilitiesTests.cs#L26
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
|
DotNet Test Preview:
tests/ImageSharp.Web.Tests/Helpers/ExifOrientationUtilitiesTests.cs#L50
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
|
DotNet Test Preview:
tests/ImageSharp.Web.Tests/Helpers/ExifOrientationUtilitiesTests.cs#L73
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
|
DotNet Test Preview:
tests/ImageSharp.Web.Tests/Helpers/FormatUtilitiesTests.cs#L11
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
|
DotNet Test Preview:
tests/ImageSharp.Web.Tests/Caching/HexEncoderTests.cs#L19
The behavior of 'byte.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'HexEncoderTests.HexEncoderOutputIsCorrect()' with a call to 'byte.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
DotNet Test Preview:
tests/ImageSharp.Web.Tests/Caching/HexEncoderTests.cs#L37
Prefer static 'System.Security.Cryptography.SHA256.HashData' method over 'ComputeHash' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1850)
|
DotNet Test Preview:
tests/ImageSharp.Web.Tests/Caching/CacheHashTests.cs#L62
Remove the ToString call in order to use a strongly-typed StringBuilder overload (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1830)
|
DotNet Test Preview:
tests/ImageSharp.Web.Tests/Caching/CacheHashTests.cs#L62
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'CacheHashTests.CreateLongString()' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
DotNet Test Preview:
tests/ImageSharp.Web.Tests/Processors/ResizeWebProcessorTests.cs#L101
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'ResizeWebProcessorTests.ResizeWebProcessor_RespectsOrientation_Size(ushort, bool)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
DotNet Build Preview:
tests/ImageSharp.Web.Benchmarks/Synchronization/AsyncLockBenchmarks.cs#L14
Type 'AsyncLockBenchmarks' owns disposable field(s) 'asyncKeyLock', 'asyncLock' but is not disposable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1001)
|
DotNet Build Preview:
tests/ImageSharp.Web.Benchmarks/Caching/ToHexBenchmarks.cs#L24
The behavior of 'byte.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'ToHexBenchmarks.StringBuilderToHex()' with a call to 'byte.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
DotNet Build Preview:
tests/ImageSharp.Web.Benchmarks/Caching/ToHexBenchmarks.cs#L18
Member 'StringBuilderToHex' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
DotNet Build Preview:
tests/ImageSharp.Web.Benchmarks/Caching/ToHexBenchmarks.cs#L55
Member 'CustomToHexUnsafe' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
DotNet Build Preview:
tests/ImageSharp.Web.Benchmarks/Caching/ToHexBenchmarks.cs#L31
Member 'CustomToHex' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
DotNet Build Preview:
tests/ImageSharp.Web.Benchmarks/Caching/ToHexBenchmarks.cs#L66
Prefer static 'System.Security.Cryptography.SHA256.HashData' method over 'ComputeHash' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1850)
|
DotNet Build Preview:
tests/ImageSharp.Web.Benchmarks/Caching/CacheKeyBenchmarks.cs#L27
Member 'CreateUsingBaseline' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
DotNet Build Preview:
tests/ImageSharp.Web.Benchmarks/Caching/CacheKeyBenchmarks.cs#L30
Member 'CreateUsingUriRelativeCacheKey' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
DotNet Build Preview:
tests/ImageSharp.Web.Benchmarks/Caching/CacheKeyBenchmarks.cs#L36
Member 'CreateUsingUriAbsoluteCacheKey' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
DotNet Build Preview:
tests/ImageSharp.Web.Benchmarks/Caching/CacheKeyBenchmarks.cs#L33
Member 'CreateUsingUriRelativeLowerInvariantCacheKey' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
The logs for this run have expired and are no longer available.
Loading