Skip to content

🚀 Speed up PR CI with NuGet cache and action upgrades#1656

Merged
dsyme merged 1 commit intomainfrom
ci
Feb 25, 2026
Merged

🚀 Speed up PR CI with NuGet cache and action upgrades#1656
dsyme merged 1 commit intomainfrom
ci

Conversation

@dsyme
Copy link
Contributor

@dsyme dsyme commented Feb 25, 2026

Summary

  • Upgraded actions/checkout and actions/setup-dotnet from v1 to v4
  • Added NuGet package caching via actions/cache@v4 on both Windows and Ubuntu runners to reduce restore times
  • Replaced the All build target with RunTests and removed the redundant Debug build step to streamline the CI pipeline

… to v4

- Change build-windows from '-t All' to '-t RunTests': skips doc generation
  and pack steps that aren't needed for PR validation (~4-5 min saved)
- Remove redundant 'Build (Debug)' step from both jobs (~2 min combined)
- Add NuGet package caching via actions/cache@v4 (~30-40s saved on cache hits)
- Upgrade actions/checkout v1 → v4 and actions/setup-dotnet v1 → v4

These changes should reduce total PR CI time from ~12 min to ~6-7 min.

Closes #1649

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dsyme dsyme merged commit 1e61964 into main Feb 25, 2026
8 checks passed
@dsyme dsyme deleted the ci branch February 25, 2026 20:13
github-actions bot added a commit that referenced this pull request Feb 26, 2026
… to v4 (#1656)

- Change build-windows from '-t All' to '-t RunTests': skips doc generation
  and pack steps that aren't needed for PR validation (~4-5 min saved)
- Remove redundant 'Build (Debug)' step from both jobs (~2 min combined)
- Add NuGet package caching via actions/cache@v4 (~30-40s saved on cache hits)
- Upgrade actions/checkout v1 → v4 and actions/setup-dotnet v1 → v4

These changes should reduce total PR CI time from ~12 min to ~6-7 min.

Closes #1649

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant