Skip to content

Commit 148752b

Browse files
authored
Added .NET 7 support
1 parent 33e3898 commit 148752b

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

.github/workflows/BuildAndTest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
dotnet-version: |
3434
3.1.x
3535
6.0.x
36+
7.0.x
3637
3738
- name: build
3839
run: dotnet build -c Release src/Dahomey.Cbor

.github/workflows/Deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: setup
1717
uses: actions/setup-dotnet@v1
1818
with:
19-
dotnet-version: 6.0.x
19+
dotnet-version: 7.0.x
2020

2121
- name: build
2222
run: dotnet pack -p:Version=${GITHUB_REF##*/} -p:FileVersion=${GITHUB_REF##*/} -p:AssemblyVersion=${GITHUB_REF##*/} -c Release src/Dahomey.Cbor

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ High-performance [CBOR](https://cbor.io/) serialization framework for .Net (C#)
88
## Supported .NET versions
99
* .NET Standard 2.0
1010
* .NET Core 3.1
11-
* .NET 5.0
11+
* .NET 6.0
12+
* .NET 7.0
1213

1314
## Features
1415
* Serialization/Deserialization from/to Streams, byte buffer

src/Dahomey.Cbor.Tests/Dahomey.Cbor.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp3.1;net6.0</TargetFrameworks>
4+
<TargetFrameworks>netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
55
<IsPackable>false</IsPackable>
66
<LangVersion>10.0</LangVersion>
77
</PropertyGroup>

src/Dahomey.Cbor/Dahomey.Cbor.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net6.0</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
55
<LangVersion>10.0</LangVersion>
66
<Nullable>enable</Nullable>
77
<PackageReleaseNotes>cf. https://github.com/dahomey-technologies/Dahomey.Cbor/releases/tag/$(Version)</PackageReleaseNotes>

0 commit comments

Comments
 (0)