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
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 restoredotnet build --configuration Release --no-restoredotnet test --configuration Release --no-buildWhy
Recent analysis indicates the workflow likely rebuilds because build and test configurations are misaligned. This is the lowest-risk first improvement.
Acceptance criteria
--no-build