Skip to content

Implement IStorageProvider OpenFile/OpenFolder/SaveFile and MessageBox dialogs #313

Implement IStorageProvider OpenFile/OpenFolder/SaveFile and MessageBox dialogs

Implement IStorageProvider OpenFile/OpenFolder/SaveFile and MessageBox dialogs #313

Triggered via pull request November 25, 2024 04:25
Status Failure
Total duration 1m 54s
Artifacts

editorconfig.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error, 12 warnings, and 10 notices
build
Issues found.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: xt0rted/pull-request-comment-branch@v1, actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: xt0rted/pull-request-comment-branch@v1, actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: src/Consolonia.Core/Controls/PickerViewModelBase.cs#L19
"[AssignNullToNotNullAttribute] Possible 'null' assignment to non-nullable entity" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/PickerViewModelBase.cs(19,29)
build: src/Tests/Consolonia.Core.Tests/StorageTests.cs#L135
"[CA1305] The behavior of 'DateTimeOffset.ToString()' could vary based on the current user's locale settings. Replace this call in 'StorageTests.TestFolderSemantics()' with a call to 'DateTimeOffset.ToString(IFormatProvider)'." on /home/runner/work/Consolonia/Consolonia/src/Tests/Consolonia.Core.Tests/StorageTests.cs(135,29)
build: src/Tests/Consolonia.Core.Tests/StorageTests.cs#L45
"[PossibleInvalidOperationException] Possible 'System.InvalidOperationException'" on /home/runner/work/Consolonia/Consolonia/src/Tests/Consolonia.Core.Tests/StorageTests.cs(45,60)
build: src/Tests/Consolonia.Core.Tests/StorageTests.cs#L59
"[PossibleInvalidOperationException] Possible 'System.InvalidOperationException'" on /home/runner/work/Consolonia/Consolonia/src/Tests/Consolonia.Core.Tests/StorageTests.cs(59,60)
build: src/Consolonia.Core/Controls/FileOpenPickerViewModel.cs#L32
"[PossibleNullReferenceException] Possible 'System.NullReferenceException'" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FileOpenPickerViewModel.cs(32,17)
build: src/Consolonia.Core/Controls/FileOpenPickerViewModel.cs#L38
"[PossibleNullReferenceException] Possible 'System.NullReferenceException'" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FileOpenPickerViewModel.cs(38,41)
build: src/Consolonia.Core/Controls/FileSavePicker.axaml.cs#L26
"[PossibleNullReferenceException] Possible 'System.NullReferenceException'" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FileSavePicker.axaml.cs(26,50)
build: src/Consolonia.Core/Controls/FileSavePicker.axaml.cs#L47
"[PossibleNullReferenceException] Possible 'System.NullReferenceException'" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FileSavePicker.axaml.cs(47,30)
build: src/Consolonia.Core/Controls/FileSavePickerViewModel.cs#L32
"[PossibleNullReferenceException] Possible 'System.NullReferenceException'" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FileSavePickerViewModel.cs(32,41)
build: src/Consolonia.Core/Controls/FolderPicker.axaml.cs#L30
"[PossibleNullReferenceException] Possible 'System.NullReferenceException'" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FolderPicker.axaml.cs(30,52)
build: src/Consolonia.Core/Controls/FileOpenPickerViewModel.cs#L25
"[ArrangeObjectCreationWhenTypeEvident] Redundant type specification" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FileOpenPickerViewModel.cs(25,73)
build: src/Consolonia.Core/Controls/FolderPickerViewModel.cs#L17
"[ArrangeObjectCreationWhenTypeEvident] Redundant type specification" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FolderPickerViewModel.cs(17,77)
build: src/Consolonia.Core/Controls/PickerViewModelBase.cs#L35
"[ArrangeObjectCreationWhenTypeEvident] Redundant type specification" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/PickerViewModelBase.cs(35,65)
build: src/Consolonia.Core/Infrastructure/SystemStorageFile.cs#L32
"[ArrangeObjectCreationWhenTypeEvident] Redundant type specification" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/SystemStorageFile.cs(32,32)
build: src/Consolonia.Core/Infrastructure/SystemStorageFolder.cs#L34
"[ArrangeObjectCreationWhenTypeEvident] Redundant type specification" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/SystemStorageFolder.cs(34,32)
build: src/Consolonia.Core/Controls/FileOpenPicker.axaml.cs#L58
"[ArrangeRedundantParentheses] Redundant parentheses" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FileOpenPicker.axaml.cs(58,21)
build: src/Consolonia.Core/Controls/FileOpenPicker.axaml.cs#L59
"[ArrangeRedundantParentheses] Redundant parentheses" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FileOpenPicker.axaml.cs(59,21)
build: src/Consolonia.Core/Controls/FolderPicker.axaml.cs#L58
"[ArrangeRedundantParentheses] Redundant parentheses" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FolderPicker.axaml.cs(58,21)
build: src/Consolonia.Core/Controls/FolderPicker.axaml.cs#L59
"[ArrangeRedundantParentheses] Redundant parentheses" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FolderPicker.axaml.cs(59,21)
build: src/Consolonia.Core/Infrastructure/SystemStorageFolder.cs#L32
"[ArrangeRedundantParentheses] Redundant parentheses" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/SystemStorageFolder.cs(32,31)