Skip to content

Commit

Permalink
update dependencies to .net 9 (#3141)
Browse files Browse the repository at this point in the history
* update dependencies to .net 9

* Update dotnetcore.yml
  • Loading branch information
jennyf19 authored Nov 13, 2024
1 parent a9ed933 commit 30394aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Setup .NET 9.0.x
uses: actions/[email protected]
with:
dotnet-version: 9.0.100-rc.2.24474.11
dotnet-version: 9.0.x

- name: 'Setup MSBuild'
uses: microsoft/setup-msbuild@v2
Expand All @@ -60,12 +60,12 @@ jobs:
- name: Test with .NET 6.0.x
run: dotnet test --no-restore --no-build Microsoft.Identity.Web.sln -f net6.0 -v normal -p:FROM_GITHUB_ACTION=true --configuration Release --filter "(FullyQualifiedName!~Microsoft.Identity.Web.Test.Integration)&(FullyQualifiedName!~WebAppUiTests)&(FullyQualifiedName!~IntegrationTests)&(FullyQualifiedName!~TokenAcquirerTests)"

- name: Test with .NET 7.0.x
run: dotnet test --no-restore --no-build Microsoft.Identity.Web.sln -f net7.0 -v normal -p:FROM_GITHUB_ACTION=true --configuration Release --filter "(FullyQualifiedName!~Microsoft.Identity.Web.Test.Integration)&(FullyQualifiedName!~WebAppUiTests)&(FullyQualifiedName!~IntegrationTests)&(FullyQualifiedName!~TokenAcquirerTests)"

- name: Test with .NET 8.0.x
run: dotnet test --no-restore --no-build Microsoft.Identity.Web.sln -f net8.0 -v normal -p:FROM_GITHUB_ACTION=true --configuration Release --collect "Xplat Code Coverage" --filter "(FullyQualifiedName!~Microsoft.Identity.Web.Test.Integration)&(FullyQualifiedName!~WebAppUiTests)&(FullyQualifiedName!~IntegrationTests)&(FullyQualifiedName!~TokenAcquirerTests)"

- name: Test with .NET 9.0.x
run: dotnet test --no-restore --no-build Microsoft.Identity.Web.sln -f net9.0 -v normal -p:FROM_GITHUB_ACTION=true --configuration Release --collect "Xplat Code Coverage" --filter "(FullyQualifiedName!~Microsoft.Identity.Web.Test.Integration)&(FullyQualifiedName!~WebAppUiTests)&(FullyQualifiedName!~IntegrationTests)&(FullyQualifiedName!~TokenAcquirerTests)"

- name: Create code coverage report
run: |
dotnet tool install -g dotnet-reportgenerator-globaltool
Expand Down
3 changes: 1 addition & 2 deletions build/template-install-dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ steps:
- task: UseDotNet@2
displayName: 'Use .Net Core SDK 9'
inputs:
version: 9.0.100-rc.2.24474.11
includePreviewVersions: true
version: 9.x
condition: eq(variables['TargetNet9'], 'True')

# Run Nuget Tool Installer
Expand Down

0 comments on commit 30394aa

Please sign in to comment.