-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[chore] Drop .NET 5.0 support, add .NET 9.0 support (#584)
- Drop .NET 5.0 support - Remove .NET 5.0 from CI - Add .NET 9.0 support - Use .NET 9.0 in CI - Add .NET 9.0 to nuspec - Update nuspec tags, docs link - Clean up bad docstrings
- Loading branch information
Showing
16 changed files
with
52 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
- name: Install .NET SDK | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 8.x.x | ||
dotnet-version: 9.x.x | ||
|
||
- name: Set up dotnet tools | ||
run: make install install-styleguide | ||
|
@@ -31,7 +31,7 @@ jobs: | |
- name: Install .NET SDK | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 8.x.x | ||
dotnet-version: 9.x.x | ||
|
||
- name: Set up dotnet tools | ||
run: make install install-styleguide | ||
|
@@ -51,7 +51,7 @@ jobs: | |
- name: Install .NET SDK | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 8.x.x | ||
dotnet-version: 9.x.x | ||
|
||
- name: Set up dotnet tools and dependencies | ||
run: make install | ||
|
@@ -67,7 +67,7 @@ jobs: | |
- name: Install .NET SDK | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 8.x.x | ||
dotnet-version: 9.x.x | ||
|
||
- name: Set up dotnet tools and dependencies | ||
run: make install | ||
|
@@ -102,7 +102,7 @@ jobs: | |
- name: Install .NET SDK | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 8.x.x | ||
dotnet-version: 9.x.x | ||
|
||
- name: Install docfx | ||
run: make install-tools | ||
|
@@ -124,21 +124,21 @@ jobs: | |
EASYPOST_PROD_API_KEY: "123" | ||
strategy: | ||
matrix: | ||
name: [ 'NetStandard20', 'Net50', 'Net60', 'Net70', 'Net80' ] | ||
name: [ 'NetStandard20', 'Net60', 'Net70', 'Net80', 'Net90' ] | ||
include: | ||
- name: NetStandard20 | ||
# can't run tests on .NET Standard, it's just a bridge between .NET Framework and .NET. | ||
# So we'll target .NET Framework 4.6.2 | ||
# More notes at the bottom of this file | ||
framework: net462 | ||
- name: Net50 | ||
framework: net5.0 | ||
- name: Net60 | ||
framework: net6.0 | ||
- name: Net70 | ||
framework: net7.0 | ||
- name: Net80 | ||
framework: net8.0 | ||
- name: Net90 | ||
framework: net9.0 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
|
@@ -147,10 +147,11 @@ jobs: | |
- name: Install .NET SDK | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
# .NET 5.0 is deprecated and removed from GitHub Actions, we need to manually install it | ||
dotnet-version: | | ||
5.x.x | ||
6.x.x | ||
7.x.x | ||
8.x.x | ||
9.x.x | ||
- name: Setup MSBuild | ||
uses: microsoft/[email protected] | ||
|
@@ -187,7 +188,7 @@ jobs: | |
- name: Install .NET SDK | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 8.x.x | ||
dotnet-version: 9.x.x | ||
|
||
- name: Setup MSBuild | ||
uses: microsoft/[email protected] | ||
|
@@ -207,7 +208,7 @@ jobs: | |
|
||
# Run the integration tests | ||
- name: Run Tests | ||
run: make integration-test fw=net7.0 # Always run integration tests on the latest framework | ||
run: make integration-test fw=net9.0 # Always run integration tests on the latest framework | ||
|
||
FSharp_Compatibility_Tests: | ||
runs-on: windows-2022 | ||
|
@@ -219,7 +220,7 @@ jobs: | |
- name: Install .NET SDK | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 8.x.x | ||
dotnet-version: 9.x.x | ||
|
||
- name: Setup MSBuild | ||
uses: microsoft/[email protected] | ||
|
@@ -239,7 +240,7 @@ jobs: | |
|
||
# Run the compatibility tests | ||
- name: Run Tests | ||
run: make fs-compat-test fw=net7.0 # Always run compatibility tests on the latest framework | ||
run: make fs-compat-test fw=net9.0 # Always run compatibility tests on the latest framework | ||
|
||
Visual_Basic_Compatibility_Test: | ||
runs-on: windows-2022 | ||
|
@@ -252,7 +253,7 @@ jobs: | |
- name: Install .NET SDK | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 8.x.x | ||
dotnet-version: 9.x.x | ||
|
||
- name: Setup MSBuild | ||
uses: microsoft/[email protected] | ||
|
@@ -272,7 +273,7 @@ jobs: | |
|
||
# Run the compatibility tests | ||
- name: Run Tests | ||
run: make vb-compat-test fw=net7.0 # Always run compatibility tests on the latest framework | ||
run: make vb-compat-test fw=net9.0 # Always run compatibility tests on the latest framework | ||
|
||
|
||
# .NET Standard notes: | ||
|
2 changes: 1 addition & 1 deletion
2
EasyPost.Compatibility.FSharp/EasyPost.Compatibility.FSharp.fsproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.