Skip to content

Conversation

martincostello
Copy link
Member

Changes

Explicitly install the .NET SDK so the version is deterministic and not dependent on whatever version is installed on the GitHub Actions runner.

Merge requirement checklist

  • Unit tests added/updated
  • CHANGELOG.md updated
  • Changes in public API reviewed (if applicable)

Explicitly install the .NET SDK so the version is deterministic and not dependent on whatever version is installed on the GitHub Actions runner.
@Copilot Copilot AI review requested due to automatic review settings August 6, 2025 08:03
@martincostello martincostello added the enhancement New feature or request label Aug 6, 2025
@martincostello martincostello requested a review from a team as a code owner August 6, 2025 08:03
@martincostello martincostello added dependencies Pull requests that update a dependency file github-actions Pull requests that update GitHub Actions code labels Aug 6, 2025
@martincostello martincostello enabled auto-merge (squash) August 6, 2025 08:03
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enhances the dotnet-format GitHub Actions workflow by explicitly installing the .NET SDK to ensure version determinism instead of relying on the pre-installed SDK version on GitHub Actions runners.

Key changes:

  • Added explicit .NET SDK installation step using actions/setup-dotnet
  • Updated checkout configuration with additional options for better performance
  • Improved step naming for clarity

The `id` isn't needed here.
@martincostello martincostello merged commit 75d6662 into main Aug 6, 2025
19 checks passed
@martincostello martincostello deleted the install-dotnet-sdk branch August 6, 2025 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement New feature or request github-actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants