Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support .NET 9 #1404

Open
wants to merge 35 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
1c2648e
Updated build and integration test scripts to include .NET 9
WhitWaldo Nov 10, 2024
58b12e3
Removed unused matrix values
WhitWaldo Nov 10, 2024
804a9d6
Reverted some .NET 8 requirement
WhitWaldo Nov 10, 2024
9a1b3a3
Updated setup-dotnet to use latest action version + updated script to…
WhitWaldo Nov 10, 2024
1b77c0a
Removed unnecessary secondary build step
WhitWaldo Nov 10, 2024
dc8d091
Updating TFM moniker
WhitWaldo Nov 10, 2024
0bc6170
Added test to install VStest
WhitWaldo Nov 10, 2024
a725d8c
Rolling back use of tool as it doesn't independently exist outside of…
WhitWaldo Nov 10, 2024
df627f9
Added .NET 9 to build targets
WhitWaldo Nov 10, 2024
70916bc
Added .NET 9 to target frameworks across solution
WhitWaldo Nov 10, 2024
378ac9f
I understand the reason for the required install step now - adding it…
WhitWaldo Nov 10, 2024
1029619
Placing install steps before build
WhitWaldo Nov 10, 2024
ec3e953
Updating global.json
WhitWaldo Nov 10, 2024
763dc75
Disabled analyzer errors in unit tests
WhitWaldo Nov 10, 2024
37219db
Added .NET 9 to test
WhitWaldo Nov 10, 2024
9b7f68c
Changed from #pragma error to #pragma warning
WhitWaldo Nov 10, 2024
ed01370
Fixed unit tests to resolve analyzer warning
WhitWaldo Nov 10, 2024
b293f31
Updated integration test to always include .NET 8 and .NET 9 installs
WhitWaldo Nov 10, 2024
2ac5207
Falling back to add separate .NET 9 support
WhitWaldo Nov 10, 2024
056c7d4
Updated referenced projects to target appropriate frameworks
WhitWaldo Nov 10, 2024
9a21e82
Added all target frameworks back to Dapr.Commono
WhitWaldo Nov 10, 2024
677b982
Added warnings to fix nullability analyzer warnings when targeting .N…
WhitWaldo Nov 10, 2024
6bc4794
Merge branch 'master' into net-9
WhitWaldo Nov 20, 2024
df39909
Merge branch 'master' into net-9
WhitWaldo Nov 26, 2024
1be87d6
Updated build step to use .NET 9 instead
WhitWaldo Nov 26, 2024
a7e15da
Fixed cloud event middleware tests - the ApplicationBuilder requires …
WhitWaldo Nov 26, 2024
e32c9a6
Including target for .NET 6, 7, 8 and 9
WhitWaldo Nov 26, 2024
0189ffc
Trialing fix to E2E integration test - excluding use of AppWebApplica…
WhitWaldo Nov 26, 2024
3635f5e
Reverting as it breaks the other .NET versions
WhitWaldo Nov 26, 2024
9506c0d
Potentially fixed unit tests in .NET 9
WhitWaldo Nov 30, 2024
9b33d36
Removed extra line from build definition
WhitWaldo Nov 30, 2024
aecf3d4
Updated documentation to reflect .NET 9 and a note highlighting that …
WhitWaldo Nov 30, 2024
25a22e7
Removed unintentionally added file to commit
WhitWaldo Nov 30, 2024
38820c4
Added .NET 9 to E2E test setup
WhitWaldo Nov 30, 2024
55ecd2c
Merge branch 'master' into net-9
WhitWaldo Nov 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/itests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['6.0', '7.0', '8.0']
dotnet-version: ['6.0', '7.0', '8.0', '9.0']
include:
- dotnet-version: '6.0'
display-name: '.NET 6.0'
Expand All @@ -36,6 +36,11 @@ jobs:
framework: 'net8'
prefix: 'net8'
install-version: '8.0.x'
- dotnet-version: '9.0'
display-name: '.NET 9.0'
framework: 'net9'
prefix: 'net9'
install-version: '9.0.x'
env:
NUPKG_OUTDIR: bin/Release/nugets
GOVER: 1.20.3
Expand Down Expand Up @@ -102,9 +107,10 @@ jobs:
- name: Parse release version
run: python ./.github/scripts/get_release_version.py
- name: Setup ${{ matrix.display-name }}
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.install-version }}
dotnet-quality: 'ga' # Prefer a GA release, but use the RC if not available
- name: Setup .NET 8.0 # net8 is always required.
uses: actions/setup-dotnet@v1
if: ${{ matrix.install-version != '8.0.x' }}
Expand Down
18 changes: 8 additions & 10 deletions .github/workflows/sdk_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,39 +42,37 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['6.0', '7.0', '8.0']
dotnet-version: ['6.0', '7.0', '8.0', '9.0']
include:
- dotnet-version: '6.0'
install-3: false
display-name: '.NET 6.0'
framework: 'net6'
prefix: 'net6'
install-version: '6.0.x'
- dotnet-version: '7.0'
install-3: false
display-name: '.NET 7.0'
framework: 'net7'
prefix: 'net7'
install-version: '7.0.x'
- dotnet-version: '8.0'
install-3: false
display-name: '.NET 8.0'
framework: 'net8'
prefix: 'net8'
install-version: '8.0.x'
- dotnet-version: '9.0'
display-name: '.NET 9.0'
framework: 'net9.0'
WhitWaldo marked this conversation as resolved.
Show resolved Hide resolved
prefix: 'net9'
install-version: '9.0.x'
steps:
- uses: actions/checkout@v1
- name: Parse release version
run: python ./.github/scripts/get_release_version.py
- name: Setup ${{ matrix.display-name }}
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.install-version }}
- name: Setup .NET 8.0 # net8 is always required.
uses: actions/setup-dotnet@v1
if: ${{ matrix.install-version != '8.0.x' }}
with:
dotnet-version: 8.0.x
dotnet-quality: 'ga' # Prefer a GA release, but use the RC if not available
- name: Build
# disable deterministic builds, just for test run. Deterministic builds break coverage for some reason
run: dotnet build --configuration release /p:GITHUB_ACTIONS=false
Expand Down
Loading