-
-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add .NET 9 Support Signed-off-by: Nathan Mittelette <[email protected]> * chore: remove .NET 6/7 support --------- Signed-off-by: Nathan Mittelette <[email protected]> Signed-off-by: Michael Tsfoni <[email protected]> Co-authored-by: Michael Tsfoni <[email protected]>
- Loading branch information
1 parent
1825b64
commit 76fc687
Showing
8 changed files
with
20 additions
and
26 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
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 |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: | | ||
8.x | ||
9.x | ||
- name: Build | ||
run: dotnet build /WarnAsError | ||
|
||
|
@@ -43,23 +43,19 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
framework: ['net6.0','net7.0', 'net8.0'] | ||
framework: ['net8.0', 'net9.0'] | ||
timeout-minutes: 30 | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
- name: Setup dotnet 9 | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '9.x' | ||
- name: Setup dotnet 8 | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: '8.x' | ||
- name: Setup dotnet 7 | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: '7.x' | ||
- name: Setup dotnet 6 | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: '6.x' | ||
- name: Tests | ||
run: dotnet test --framework ${{ matrix.framework }} --collect:"XPlat Code Coverage;Format=cobertura" --results-directory "TestResults" | ||
# see https://github.com/danielpalme/ReportGenerator/blob/main/.github/workflows/ci.yml | ||
|
@@ -80,7 +76,7 @@ jobs: | |
run: cat ./coveragereport/SummaryGithub.md >> $GITHUB_STEP_SUMMARY | ||
shell: bash | ||
- name: Upload coverage report artifact | ||
if: ${{ matrix.os == 'ubuntu-latest' && matrix.framework == 'net8.0' }} | ||
if: ${{ matrix.os == 'ubuntu-latest' && matrix.framework == 'net9.0' }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: CoverageReport_${{ matrix.framework }}_${{ matrix.os }} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
4.2.0 | ||
4.2.0 |