Skip to content

Commit 1b096c4

Browse files
committed
update target frameworks
1 parent edc6ee7 commit 1b096c4

5 files changed

Lines changed: 7 additions & 9 deletions

File tree

.github/workflows/Build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020
workflow_dispatch:
2121
push:
2222
branches:
23-
- '*'
23+
- "**"
2424

2525
jobs:
2626
build:

.github/workflows/Release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: FileSystem [Release]
22

33
env:
4-
DOTNET_VERSION: 7.0.x
4+
DOTNET_VERSION: 8.0.x
55
DOTNET_BUILD_CONFIGURATION: Release
66
DOTNET_PACKAGES_OUTPUT_DIRECTORY: .nuget
77
NUGET_SOURCE: https://api.nuget.org/v3/index.json

Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
3-
<TargetFrameworks>netstandard2.0;netstandard2.1;net6.0;net7.0;net8.0</TargetFrameworks>
3+
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net7.0;net8.0</TargetFrameworks>
44
<Nullable>enable</Nullable>
55
<LangVersion>8.0</LangVersion>
66
<NoWarn>NU1701</NoWarn>
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<PropertyGroup>
12-
<PackageVersion>1.0.0</PackageVersion>
12+
<PackageVersion>1.1.0</PackageVersion>
1313
<Company>SharpGrip</Company>
1414
<Authors>SharpGrip</Authors>
1515
<Copyright>SharpGrip</Copyright>

FileSystem.Adapters.AzureFileStorage/src/AzureFileStorageAdapter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public override async Task<IEnumerable<IFile>> GetFilesAsync(string virtualPath
8282
try
8383
{
8484
var currentDirectory = client.GetDirectoryClient(path);
85-
var currentDirectoryEnumerator = currentDirectory.GetFilesAndDirectoriesAsync().GetAsyncEnumerator(cancellationToken);
85+
await using var currentDirectoryEnumerator = currentDirectory.GetFilesAndDirectoriesAsync(cancellationToken: cancellationToken).GetAsyncEnumerator(cancellationToken);
8686

8787
var files = new List<IFile>();
8888

@@ -112,7 +112,7 @@ public override async Task<IEnumerable<IDirectory>> GetDirectoriesAsync(string v
112112
try
113113
{
114114
var currentDirectory = client.GetDirectoryClient(path);
115-
var currentDirectoryEnumerator = currentDirectory.GetFilesAndDirectoriesAsync().GetAsyncEnumerator(cancellationToken);
115+
await using var currentDirectoryEnumerator = currentDirectory.GetFilesAndDirectoriesAsync(cancellationToken: cancellationToken).GetAsyncEnumerator(cancellationToken);
116116

117117
var directories = new List<IDirectory>();
118118

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
namespace SharpGrip.FileSystem.Tests.FileSystem.Adapters.Dropbox
22
{
3-
public class DropboxAdapterTest
4-
{
5-
}
3+
public class DropboxAdapterTest;
64
}

0 commit comments

Comments
 (0)