Skip to content

Commit ffbb606

Browse files
authored
Merge pull request #244 from mono/bump-deps
Bump to latest dotnet 3.1 and nugets
2 parents 333bdcb + 47e68e9 commit ffbb606

File tree

6 files changed

+13
-7
lines changed

6 files changed

+13
-7
lines changed

.github/workflows/mac.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup .NET Core
1919
uses: actions/setup-dotnet@v1
2020
with:
21-
dotnet-version: 3.1.201
21+
dotnet-version: 3.1.404
2222
- name: Build with dotnet
2323
run: dotnet build --configuration Release
2424
- name: Run unit tests

.github/workflows/ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup .NET Core
1919
uses: actions/setup-dotnet@v1
2020
with:
21-
dotnet-version: 3.1.201
21+
dotnet-version: 3.1.404
2222
- name: Build with dotnet
2323
run: dotnet build --configuration Release
2424
- name: Run unit tests

.github/workflows/windows.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,13 @@ jobs:
1818
- name: Setup .NET Core
1919
uses: actions/setup-dotnet@v1
2020
with:
21-
dotnet-version: 3.1.201
21+
dotnet-version: 3.1.404
22+
23+
- name: Clean
24+
run: dotnet clean --configuration Release && dotnet nuget locals all --clear
25+
2226
- name: Build with dotnet
2327
run: dotnet build --configuration Release
28+
2429
- name: Run unit tests
2530
run: dotnet test --verbosity normal

src/TaglibSharp.Tests/Images/Validators/ImageTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ string ReadImageData (TagLib.Image.File file)
147147
md5Sum = "";// Utils.Md5Encode (v.Data);
148148
} else {
149149
using var image = Image.Load (v.Data);
150-
byte[] result = MemoryMarshal.AsBytes (image.GetPixelSpan ()).ToArray ();
150+
image.TryGetSinglePixelSpan (out var span);
151+
byte[] result = MemoryMarshal.AsBytes (span).ToArray ();
151152
md5Sum = Utils.Md5Encode (result);
152153
}
153154

src/TaglibSharp.Tests/TaglibSharp.Tests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
</ItemGroup>
1515

1616
<ItemGroup>
17-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" />
17+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.3" />
1818
<PackageReference Include="NUnit" Version="3.12.0" />
1919
<PackageReference Include="NUnit.ConsoleRunner" Version="3.11.1" />
20-
<PackageReference Include="NUnit3TestAdapter" Version="3.16.1">
20+
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0">
2121
<PrivateAssets>all</PrivateAssets>
2222
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2323
</PackageReference>
24-
<PackageReference Include="SixLabors.ImageSharp" Version="1.0.0-beta0007" />
24+
<PackageReference Include="SixLabors.ImageSharp" Version="1.0.2" />
2525
</ItemGroup>
2626

2727
</Project>
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)