Skip to content

Commit eeaad28

Browse files
committed
- Add .NET 8.0 support
- Install .NET Core 3.1 manually for CI
1 parent 6b8f7ee commit eeaad28

File tree

5 files changed

+14
-12
lines changed

5 files changed

+14
-12
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Install .NET SDK
1616
uses: actions/setup-dotnet@v3
1717
with:
18-
dotnet-version: 7.x.x
18+
dotnet-version: 8.x.x
1919

2020
- name: Set up dotnet tools
2121
run: make install-tools
@@ -31,7 +31,7 @@ jobs:
3131
- name: Install .NET SDK
3232
uses: actions/setup-dotnet@v3
3333
with:
34-
dotnet-version: 7.x.x
34+
dotnet-version: 8.x.x
3535

3636
- name: Set up dotnet tools and dependencies
3737
run: make install
@@ -47,7 +47,7 @@ jobs:
4747
- name: Install .NET SDK
4848
uses: actions/setup-dotnet@v3
4949
with:
50-
dotnet-version: 7.x.x
50+
dotnet-version: 8.x.x
5151

5252
- name: Set up dotnet tools and dependencies
5353
run: make install
@@ -81,7 +81,7 @@ jobs:
8181
EASYPOST_PROD_API_KEY: "123"
8282
strategy:
8383
matrix:
84-
name: [ 'net462', 'netstandard2.0', 'netcoreapp3.1', 'net5.0', 'net6.0', 'net7.0' ]
84+
name: [ 'net462', 'netstandard2.0', 'netcoreapp3.1', 'net5.0', 'net6.0', 'net7.0', 'net8.0' ]
8585
include:
8686
- name: net462
8787
framework: net462
@@ -98,6 +98,8 @@ jobs:
9898
framework: net6.0
9999
- name: net7.0
100100
framework: net7.0
101+
- name: net8.0
102+
framework: net8.0
101103
steps:
102104
- uses: actions/checkout@v3
103105
with:
@@ -106,11 +108,11 @@ jobs:
106108
- name: Install .NET SDK
107109
uses: actions/setup-dotnet@v3
108110
with:
109-
# .NET Core 3.1 and .NET 5 are deprecated and removed from GitHub Actions, we need to manually install them
111+
# .NET Core 3.1 and 5 are deprecated and removed from GitHub Actions, we need to manually install them
110112
dotnet-version: |
111113
3.1.x
112114
5.x.x
113-
7.x.x
115+
8.x.x
114116
115117
- name: Setup MSBuild
116118
uses: microsoft/setup-msbuild@v1.1.2
@@ -147,7 +149,7 @@ jobs:
147149
- name: Install .NET SDK
148150
uses: actions/setup-dotnet@v3
149151
with:
150-
dotnet-version: 7.x.x
152+
dotnet-version: 8.x.x
151153

152154
- name: Setup MSBuild
153155
uses: microsoft/setup-msbuild@v1.1.2
@@ -180,7 +182,7 @@ jobs:
180182
- name: Install .NET SDK
181183
uses: actions/setup-dotnet@v3
182184
with:
183-
dotnet-version: 7.x.x
185+
dotnet-version: 8.x.x
184186

185187
- name: Setup MSBuild
186188
uses: microsoft/setup-msbuild@v1.1.2

EasyVCR.Tests.FSharp/EasyVCR.Tests.FSharp.fsproj

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-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<GenerateDocumentationFile>true</GenerateDocumentationFile>
66
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
77
</PropertyGroup>

EasyVCR.Tests.VB/EasyVCR.Tests.VB.vbproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<RootNamespace>EasyVCR.Tests.VB</RootNamespace>
5-
<TargetFramework>net7.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
77
</PropertyGroup>
88

EasyVCR.Tests/EasyVCR.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<Project Sdk="Microsoft.NET.Sdk.Web">
44
<PropertyGroup>
5-
<TargetFrameworks>net462;netstandard2.0;netcoreapp3.1;net5.0;net6.0;net7.0</TargetFrameworks>
5+
<TargetFrameworks>net462;netstandard2.0;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
66
<LangVersion>8</LangVersion>
77
<ApplicationIcon />
88
<OutputType>Library</OutputType>

EasyVCR/EasyVCR.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;net5.0;net6.0;net7.0</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
55
<Nullable>enable</Nullable>
66
<OutputType>Library</OutputType>
77
<RootNamespace>EasyVCR</RootNamespace>

0 commit comments

Comments
 (0)