Skip to content

Bump NUnit from 3.14.0 to 4.1.0 in /src #418

Bump NUnit from 3.14.0 to 4.1.0 in /src

Bump NUnit from 3.14.0 to 4.1.0 in /src #418

Triggered via pull request April 25, 2024 23:10
Status Failure
Total duration 44s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 14 warnings
build: src/ActionsImporter.UnitTests/Models/VariableTests.cs#L23
'Assert' does not contain a definition for 'AreEqual'
build: src/ActionsImporter.UnitTests/Models/VariableTests.cs#L35
'Assert' does not contain a definition for 'AreEqual'
build: src/ActionsImporter.UnitTests/Models/VariableTests.cs#L49
'Assert' does not contain a definition for 'AreEqual'
build: src/ActionsImporter.UnitTests/Models/StringExtensionsTests.cs#L13
'Assert' does not contain a definition for 'AreEqual'
build: src/ActionsImporter.UnitTests/Models/ManifestTests.cs#L72
'Assert' does not contain a definition for 'AreEqual'
build: src/ActionsImporter.UnitTests/Models/ManifestTests.cs#L73
'Assert' does not contain a definition for 'AreEqual'
build: src/ActionsImporter.UnitTests/Models/ManifestTests.cs#L74
'Assert' does not contain a definition for 'IsInstanceOf'
build: src/ActionsImporter.UnitTests/Models/ManifestTests.cs#L75
'Assert' does not contain a definition for 'AreEqual'
build: src/ActionsImporter.UnitTests/Models/ManifestTests.cs#L76
'Assert' does not contain a definition for 'IsInstanceOf'
build: src/ActionsImporter.UnitTests/Models/ManifestTests.cs#L84
'Assert' does not contain a definition for 'AreEqual'
unit-test: src/ActionsImporter.UnitTests/Models/FeatureTests.cs#L27
'Assert' does not contain a definition for 'AreEqual'
unit-test: src/ActionsImporter.UnitTests/Models/FeatureTests.cs#L28
'Assert' does not contain a definition for 'AreEqual'
unit-test: src/ActionsImporter.UnitTests/Models/FeatureTests.cs#L29
'Assert' does not contain a definition for 'AreEqual'
unit-test: src/ActionsImporter.UnitTests/Models/FeatureTests.cs#L30
'Assert' does not contain a definition for 'IsFalse'
unit-test: src/ActionsImporter.UnitTests/Models/VariableTests.cs#L23
'Assert' does not contain a definition for 'AreEqual'
unit-test: src/ActionsImporter.UnitTests/Models/FeatureTests.cs#L40
'Assert' does not contain a definition for 'AreEqual'
unit-test: src/ActionsImporter.UnitTests/Models/VariableTests.cs#L35
'Assert' does not contain a definition for 'AreEqual'
unit-test: src/ActionsImporter.UnitTests/Models/FeatureTests.cs#L50
'Assert' does not contain a definition for 'AreEqual'
unit-test: src/ActionsImporter.UnitTests/Models/VariableTests.cs#L49
'Assert' does not contain a definition for 'AreEqual'
unit-test: src/ActionsImporter.UnitTests/Models/StringExtensionsTests.cs#L13
'Assert' does not contain a definition for 'AreEqual'
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: src/ActionsImporter.ThirdPartyLicenseGenerator/Program.cs#L29
'File.ReadAllLines(string)' synchronously blocks. Await 'File.ReadAllLinesAsync(string, CancellationToken)' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849)
build: src/ActionsImporter.ThirdPartyLicenseGenerator/Program.cs#L218
Type 'LicenseInfo' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build: src/ActionsImporter/Program.cs#L59
Prefer using 'string.Equals(string, StringComparison)' to perform a case-insensitive comparison, but keep in mind that this might cause subtle changes in behavior, so make sure to conduct thorough testing after applying the suggestion, or if culturally sensitive comparison is not required, consider using 'StringComparison.OrdinalIgnoreCase' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1862)
build: src/ActionsImporter/Services/DockerService.cs#L74
Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1869)
build: src/ActionsImporter/Services/DockerService.cs#L70
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
build: src/ActionsImporter/Services/ConfigurationService.cs#L34
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
build: src/ActionsImporter/Services/ConfigurationService.cs#L42
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
build: src/ActionsImporter/Commands/ListFeatures.cs#L16
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
build: src/ActionsImporter/Commands/Common.cs#L33
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
build: src/ActionsImporter/Commands/Common.cs#L41
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
unit-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
unit-test
Could not find any files for **/*-tests.xml