Update nuget properties #78
build.yml
on: pull_request
Build Package
0s
Matrix: test
Push GitHub Package
0s
Push NuGet Package
0s
Annotations
3 errors and 40 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:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L42
Modify 'Execute' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
|
Test-ubuntu-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L78
Use ordinal string comparison (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1309)
|
Test-ubuntu-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L81
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
|
Test-ubuntu-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L98
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
|
Test-ubuntu-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L78
'string.Equals(string)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Tailwind.MSBuild.Tasks.GetTailwindCLI.DownloadCli(string)' with a call to 'string.Equals(string, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
|
Test-ubuntu-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L64
Specify a culture or use an invariant version to avoid implicit dependency on current culture (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1311)
|
Test-ubuntu-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L57
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
|
Test-ubuntu-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L64
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'GetTailwindCLI.GetFilePath()' with a call to 'string.ToLower(CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
|
Test-ubuntu-latest:
Tests/Tailwind.MSBuild.UnitTests/GetTailwindCliTests.cs#L64
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'.
|
Test-ubuntu-latest:
Tests/Tailwind.MSBuild.UnitTests/Common/TaskFixture.cs#L9
Change 'List<BuildErrorEventArgs>' in 'TaskFixture<T>.Errors' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
|
Test-ubuntu-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L42
Modify 'Execute' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
|
Test-ubuntu-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L64
Specify a culture or use an invariant version to avoid implicit dependency on current culture (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1311)
|
Test-ubuntu-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L57
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
|
Test-ubuntu-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L64
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'GetTailwindCLI.GetFilePath()' with a call to 'string.ToLower(CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
|
Test-ubuntu-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L78
Use ordinal string comparison (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1309)
|
Test-ubuntu-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L81
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
|
Test-ubuntu-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L98
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
|
Test-ubuntu-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L78
'string.Equals(string)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Tailwind.MSBuild.Tasks.GetTailwindCLI.DownloadCli(string)' with a call to 'string.Equals(string, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
|
Test-ubuntu-latest:
Tests/Tailwind.MSBuild.UnitTests/GetTailwindCliTests.cs#L64
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'.
|
Test-ubuntu-latest:
Tests/Tailwind.MSBuild.UnitTests/Common/TaskFixture.cs#L9
Change 'List<BuildErrorEventArgs>' in 'TaskFixture<T>.Errors' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
|
Test-macOS-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L42
Modify 'Execute' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
|
Test-macOS-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L64
Specify a culture or use an invariant version to avoid implicit dependency on current culture (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1311)
|
Test-macOS-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L57
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
|
Test-macOS-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L64
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'GetTailwindCLI.GetFilePath()' with a call to 'string.ToLower(CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
|
Test-macOS-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L78
Use ordinal string comparison (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1309)
|
Test-macOS-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L81
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
|
Test-macOS-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L98
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
|
Test-macOS-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L78
'string.Equals(string)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Tailwind.MSBuild.Tasks.GetTailwindCLI.DownloadCli(string)' with a call to 'string.Equals(string, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
|
Test-macOS-latest:
Tests/Tailwind.MSBuild.UnitTests/GetTailwindCliTests.cs#L64
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'.
|
Test-macOS-latest:
Tests/Tailwind.MSBuild.UnitTests/Common/TaskFixture.cs#L9
Change 'List<BuildErrorEventArgs>' in 'TaskFixture<T>.Errors' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
|
Test-macOS-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L64
Specify a culture or use an invariant version to avoid implicit dependency on current culture (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1311)
|
Test-macOS-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L57
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
|
Test-macOS-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L42
Modify 'Execute' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
|
Test-macOS-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L64
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'GetTailwindCLI.GetFilePath()' with a call to 'string.ToLower(CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
|
Test-macOS-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L78
Use ordinal string comparison (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1309)
|
Test-macOS-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L81
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
|
Test-macOS-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L98
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
|
Test-macOS-latest:
Source/Tailwind.MSBuild/Tasks/GetTailwindCLI.cs#L78
'string.Equals(string)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Tailwind.MSBuild.Tasks.GetTailwindCLI.DownloadCli(string)' with a call to 'string.Equals(string, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
|
Test-macOS-latest:
Tests/Tailwind.MSBuild.UnitTests/GetTailwindCliTests.cs#L64
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'.
|
Test-macOS-latest:
Tests/Tailwind.MSBuild.UnitTests/Common/TaskFixture.cs#L9
Change 'List<BuildErrorEventArgs>' in 'TaskFixture<T>.Errors' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
|