Skip to content

chore: update FileSystemTasks usages #404

chore: update FileSystemTasks usages

chore: update FileSystemTasks usages #404

Triggered via push March 31, 2024 02:24
Status Failure
Total duration 3m 1s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 7 warnings
ubuntu-latest
[xUnit.net 00:00:00.49] Nuke.Common.Tests.MoveCopyTest.TestMoveFile [FAIL]
Nuke.Common.Tests.MoveCopyTest.TestMoveFile: source/Nuke.Utilities.Tests/IO/MoveCopyTest.cs#L66
Expected source3.Move(target, policy: ExistsPolicy.FileOverwriteIfNewer) to be /home/runner/work/nuke/nuke/source/Nuke.Utilities.Tests/bin/Release/net6.0/temp/MoveCopyTest.TestMoveFile/target.txt, but found /home/runner/work/nuke/nuke/source/Nuke.Utilities.Tests/bin/Release/net6.0/temp/MoveCopyTest.TestMoveFile/source3.txt.
ubuntu-latest
Target "Test" has thrown an exception
ubuntu-latest
Process completed with exit code 255.
ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ubuntu-latest
/home/runner/work/nuke/nuke/source/Nuke.SourceGenerators/StronglyTypedSolutionGenerator.cs(23,14): warning RS1036: 'Nuke.SourceGenerators.StronglyTypedSolutionGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>' [/home/runner/work/nuke/nuke/source/Nuke.SourceGenerators/Nuke.SourceGenerators.csproj]
ubuntu-latest
/home/runner/work/nuke/nuke/source/Nuke.Components/ISignPackages.cs(82,43): warning CS0618: 'FileSystemTasks.CopyFileToDirectory(AbsolutePath, AbsolutePath, FileExistsPolicy, bool)' is obsolete: 'Use AbsolutePath.CopyToDirectory' [/home/runner/work/nuke/nuke/source/Nuke.Components/Nuke.Components.csproj]
ubuntu-latest
/home/runner/work/nuke/nuke/source/Nuke.Components/ISignPackages.cs(117,35): warning CS0618: 'FileSystemTasks.CopyFile(AbsolutePath, AbsolutePath, FileExistsPolicy, bool)' is obsolete: 'Use AbsolutePath.Copy' [/home/runner/work/nuke/nuke/source/Nuke.Components/Nuke.Components.csproj]
ubuntu-latest
/home/runner/work/nuke/nuke/source/Nuke.SourceGenerators/StronglyTypedSolutionGenerator.cs(23,14): warning RS1036: 'Nuke.SourceGenerators.StronglyTypedSolutionGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>' [/home/runner/work/nuke/nuke/source/Nuke.SourceGenerators/Nuke.SourceGenerators.csproj]
ubuntu-latest
/home/runner/work/nuke/nuke/source/Nuke.Components/ISignPackages.cs(82,43): warning CS0618: 'FileSystemTasks.CopyFileToDirectory(AbsolutePath, AbsolutePath, FileExistsPolicy, bool)' is obsolete: 'Use AbsolutePath.CopyToDirectory' [/home/runner/work/nuke/nuke/source/Nuke.Components/Nuke.Components.csproj]
ubuntu-latest
/home/runner/work/nuke/nuke/source/Nuke.Components/ISignPackages.cs(117,35): warning CS0618: 'FileSystemTasks.CopyFile(AbsolutePath, AbsolutePath, FileExistsPolicy, bool)' is obsolete: 'Use AbsolutePath.Copy' [/home/runner/work/nuke/nuke/source/Nuke.Components/Nuke.Components.csproj]