Skip to content

fix: Make MockDirectory.Exists behavior with forward slash on Windows… #35

fix: Make MockDirectory.Exists behavior with forward slash on Windows…

fix: Make MockDirectory.Exists behavior with forward slash on Windows… #35

Triggered via push March 13, 2025 20:25
Status Success
Total duration 8m 46s
Artifacts 5

build.yml

on: push
Matrix: Unit tests
Static code analysis
2m 48s
Static code analysis
Publish Tests Results
13s
Publish Tests Results
Finalize release
6s
Finalize release
Fit to window
Zoom out
Zoom in

Deployment protection rules

Reviewers, timers, and other rules protecting deployments in this run
Event Environments Comment
vbreuss
approved Mar 13, 2025
production

Annotations

10 warnings
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/PathBase.cs(76,28): warning S4136: All 'GetFileNameWithoutExtension' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=net6.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/PathBase.cs(73,28): warning S4136: All 'GetFileName' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=net6.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/PathBase.cs(70,28): warning S4136: All 'GetExtension' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=net6.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/PathBase.cs(67,28): warning S4136: All 'GetDirectoryName' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=net6.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileInfoWrapper.cs(17,12): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=net6.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileSystemInfoBase.cs(14,15): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=net6.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileSystemBase.cs(7,23): warning S1694: Convert this 'abstract' class to an interface. (https://rules.sonarsource.com/csharp/RSPEC-1694) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=net6.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DriveInfoWrapper.cs(23,12): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=net6.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DirectoryInfoAclExtensions.cs(23,45): warning S1192: Define a constant instead of using this literal 'The directory info does not support ACL extensions' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=net6.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DriveInfoBase.cs(12,15): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=net6.0]

Artifacts

Produced during runtime
Name Size Digest
API-tests Expired
2.83 KB
sha256:ebc06866f5294dd11118d101f3f668dac41e95cf32627b24fcfcae8c3f090327
Linux-artifacts Expired
670 KB
sha256:605f3014aba83f26fe5b7f3afcb79ecc73fbc32562977d90535008785ada235b
Packages Expired
894 KB
sha256:16f01fd380faeec51e8af335cd1f301abc8331b825da94815e476d612595d0d6
Windows-artifacts Expired
847 KB
sha256:712f025c92a39aa6c378595035eb729e20d0ce33e3b335a49e1abdb6a54e4bdc
macOS-artifacts Expired
665 KB
sha256:4e08f634cdf8f7ac67227c996047fc7be85aab9d5858d22af04e566632a40d08