Skip to content

Build and Release

Build and Release #2

Manually triggered December 19, 2024 13:44
Status Failure
Total duration 43s
Artifacts

release.yml

on: workflow_dispatch
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 21 warnings
build
Applications published to a single-file are required to use the application host. You must either set PublishSingleFile to false or set UseAppHost to true.
build
Process completed with exit code 1.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build: ConvertApi.Cli/Program.cs#L155
Possible null reference argument for parameter 'boundary' in 'MultipartReader.MultipartReader(string boundary, Stream stream)'.
build: ConvertApi.Cli/Program.cs#L159
Converting null literal or possible null value to non-nullable type.
build: ConvertApi.Cli/Program.cs#L164
Dereference of a possibly null reference.
build: ConvertApi.Cli/Program.cs#L165
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
build: ConvertApi.Cli/Program.cs#L187
'System.Reflection.Assembly.Location' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
build: ConvertApi.Cli.Tests/DirectCallTests.cs#L136
Cannot convert null literal to non-nullable reference type.
build: ConvertApi.Cli.Tests/ContentDispositionHeaderValueTests.cs#L36
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
build: ConvertApi.Cli.Tests/CliTests.cs#L29
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
build: ConvertApi.Cli.Tests/ContentDispositionHeaderValueTests.cs#L20
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
build: ConvertApi.Cli.Tests/ContentDispositionHeaderValueTests.cs#L21
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
build: ConvertApi.Cli/Program.cs#L155
Possible null reference argument for parameter 'boundary' in 'MultipartReader.MultipartReader(string boundary, Stream stream)'.
build: ConvertApi.Cli/Program.cs#L159
Converting null literal or possible null value to non-nullable type.
build: ConvertApi.Cli/Program.cs#L164
Dereference of a possibly null reference.
build: ConvertApi.Cli/Program.cs#L165
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
build: ConvertApi.Cli/Program.cs#L187
'System.Reflection.Assembly.Location' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
build: ConvertApi.Cli.Tests/DirectCallTests.cs#L136
Cannot convert null literal to non-nullable reference type.
build: ConvertApi.Cli.Tests/ContentDispositionHeaderValueTests.cs#L20
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
build: ConvertApi.Cli.Tests/ContentDispositionHeaderValueTests.cs#L21
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
build: ConvertApi.Cli.Tests/ContentDispositionHeaderValueTests.cs#L36
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
build: ConvertApi.Cli.Tests/CliTests.cs#L29
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)