Skip to content

Updated version to v0.3.1 #590

Updated version to v0.3.1

Updated version to v0.3.1 #590

Triggered via push December 4, 2024 05:19
Status Success
Total duration 4m 23s
Artifacts

build.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

31 warnings
build (macos-latest): tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L50
The literal or constant value Name should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateFile' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
build (macos-latest): tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L51
The literal or constant value FullPath should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateFile' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
build (macos-latest): tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L97
The literal or constant value Name should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateFileByPath' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
build (macos-latest): tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L98
The literal or constant value FullPath should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateFileByPath' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
build (macos-latest): tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L122
The literal or constant value Name should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateDirectory' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
build (macos-latest): tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L123
The literal or constant value FullPath should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateDirectory' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
build (macos-latest): tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L160
The literal or constant value Name should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateDirectoryByPath' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
build (macos-latest): tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L161
The literal or constant value FullPath should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateDirectoryByPath' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
build (macos-latest): tests/Camelot.ViewModels.Tests/FilePanels/TabsListViewModelTests.cs#L168
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
build (macos-latest): src/Camelot.ViewModels.Windows/ShellIcons/WindowsShellIconsService.cs#L86
This call site is reachable on all platforms. 'Icon.ToBitmap()' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (ubuntu-latest): src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L28
This call site is reachable on all platforms. 'BitmapData.Height' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (ubuntu-latest): src/Camelot.ViewModels.Windows/ShellIcons/WindowsShellIconsService.cs#L86
This call site is reachable on all platforms. 'Icon.ToBitmap()' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (ubuntu-latest): src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L24
This call site is reachable on all platforms. 'PixelFormat.Format32bppArgb' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (ubuntu-latest): src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L24
This call site is reachable on all platforms. 'ImageLockMode.ReadWrite' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (ubuntu-latest): src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L23
This call site is reachable on all platforms. 'Image.Height' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (ubuntu-latest): src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L30
This call site is reachable on all platforms. 'BitmapData.Stride' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (ubuntu-latest): src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L27
This call site is reachable on all platforms. 'BitmapData.Scan0' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (ubuntu-latest): src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L32
This call site is reachable on all platforms. 'Image.Dispose()' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (ubuntu-latest): src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L21
This call site is reachable on all platforms. 'Bitmap' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (ubuntu-latest): src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L22
This call site is reachable on all platforms. 'Bitmap.LockBits(Rectangle, ImageLockMode, PixelFormat)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (windows-latest): tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L50
The literal or constant value Name should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateFile' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
build (windows-latest): tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L51
The literal or constant value FullPath should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateFile' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
build (windows-latest): tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L97
The literal or constant value Name should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateFileByPath' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
build (windows-latest): tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L98
The literal or constant value FullPath should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateFileByPath' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
build (windows-latest): tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L122
The literal or constant value Name should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateDirectory' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
build (windows-latest): tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L123
The literal or constant value FullPath should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateDirectory' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
build (windows-latest): tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L160
The literal or constant value Name should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateDirectoryByPath' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
build (windows-latest): tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L161
The literal or constant value FullPath should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateDirectoryByPath' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
build (windows-latest): tests/Camelot.ViewModels.Tests/FilePanels/TabsListViewModelTests.cs#L168
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
build (windows-latest): src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L32
This call site is reachable on all platforms. 'Image.Dispose()' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)