Skip to content

perf(ci): accelerate CI with nuget caching, shallow clones, and split coverage - #89

Merged
spelech merged 1 commit into
mainfrom
perf/optimize-ci-workflows
Sep 29, 2026
Merged

spelech merged 1 commit into
mainfrom
perf/optimize-ci-workflows

Conversation

@spelech

@spelech spelech commented Sep 29, 2026

Copy link
Copy Markdown
Owner

Summary

Optimizes CI and release workflows to significantly reduce GitHub Actions runner execution time and automate frontend lint/typecheck gates on PRs.

Optimizations

  1. Parallel Lint & Typecheck Quality Gate: Added a fast concurrent job executing npm ci, npm run lint, and npx tsc --noEmit.
  2. NuGet Caching: Enabled cache: true and cache-dependency-path in actions/setup-dotnet across ci.yml and release.yml.
  3. Shallow Clones: Replaced full git clone with git clone --depth 1 for Avalonia.LayoutInspector.
  4. Targeted Code Coverage: Runs Coverlet code coverage exclusively on ubuntu-latest and runs standard dotnet test on windows-latest, drastically reducing Windows CI duration.

@spelech
spelech merged commit 9008909 into main Sep 29, 2026
3 checks passed
@spelech
spelech deleted the perf/optimize-ci-workflows branch September 29, 2026 02:24
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