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

Update benchmark-action.yml to use NET 8 #5157

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gladjohn
Copy link
Contributor

@gladjohn gladjohn commented Feb 26, 2025

Fixes #5159

Changes proposed in this request
This pull request includes updates to the .github/workflows/benchmark-action.yml file to ensure compatibility with the latest .NET version.

Updates to .github/workflows/benchmark-action.yml:

  • Updated the dotnet-version from 6.0.418 to 8.0.x to use the latest .NET version.
  • Changed the target framework in the benchmark run command from net6.0 to net8.0 to align with the updated .NET version.

Testing
build

Performance impact
none

Documentation

  • All relevant documentation is updated.

@gladjohn gladjohn changed the title Update benchmark-action.yml Update benchmark-action.yml to use NET 8 Feb 26, 2025
@gladjohn gladjohn marked this pull request as ready for review February 26, 2025 21:54
@gladjohn gladjohn requested a review from a team as a code owner February 26, 2025 21:54
- name: Run benchmark
run: cd tests/Microsoft.Identity.Test.Performance && dotnet run -c release -f net6.0 --exporters json
run: cd tests/Microsoft.Identity.Test.Performance && dotnet run -c release -f net8.0 --exporters json
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't we delete it instead? Are we using this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

afaik we are using it, tagging @pmaytak to confirm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Engineering task] Update Benchmark to use Net 8 from deprecated Net 6
2 participants