Skip to content

Phase 1: Align .NET build and test steps to avoid duplicate compilation #982

Description

@dgee2

Summary

Update the GitHub Actions workflow so .NET is restored once, built once in Release, and tested with --no-build.

Change

Replace the current backend sequence with:

  • dotnet restore
  • dotnet build --configuration Release --no-restore
  • dotnet test --configuration Release --no-build

Why

Recent analysis indicates the workflow likely rebuilds because build and test configurations are misaligned. This is the lowest-risk first improvement.

Acceptance criteria

  • Backend workflow uses a single Release build
  • Tests run with --no-build
  • CI remains green
  • Timing before and after is captured for comparison

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestgithub_actionsPull requests that update GitHub Actions code

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions