Skip to content

Align CI build workflow SDK with project target framework - #1

Merged
FlaviaMarcella merged 2 commits into
mainfrom
copilot/fix-failing-github-actions-job
Jul 28, 2026
Merged

Align CI build workflow SDK with project target framework#1
FlaviaMarcella merged 2 commits into
mainfrom
copilot/fix-failing-github-actions-job

Conversation

Copilot AI commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

The build GitHub Actions job was failing due to an SDK/framework mismatch in CI (NETSDK1045): workflow setup used .NET 8 while the project requires .NET 10. This change updates the workflow to provision the correct SDK for the repository’s target framework.

  • CI workflow update

    • Updated .github/workflows/dotnet.yml to use .NET 10 in actions/setup-dotnet.
  • Why this resolves the failure

    • Ensures dotnet restore/build/test in CI run under an SDK that supports the project target framework (net10.0), eliminating the inference error seen in the failing job.
- name: Setup .NET
  uses: actions/setup-dotnet@v4
  with:
    dotnet-version: 10.0.x

Copilot AI changed the title [WIP] Fix failing GitHub Actions job 'build' Align CI build workflow SDK with project target framework Jul 28, 2026
Copilot AI requested a review from FlaviaMarcella July 28, 2026 14:01
@FlaviaMarcella
FlaviaMarcella marked this pull request as ready for review July 28, 2026 14:01
Copilot AI review requested due to automatic review settings July 28, 2026 14:02
@FlaviaMarcella
FlaviaMarcella merged commit 965d22b into main Jul 28, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the CI workflow to install a .NET SDK version compatible with the repository’s target framework (net10.0), addressing the NETSDK1045 SDK/framework mismatch seen in CI builds.

Changes:

  • Updated GitHub Actions actions/setup-dotnet@v4 to provision the .NET 10 SDK (10.0.x) for the build job.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

3 participants