dotnet-gha-build-test

Originally fromwshaddix/dotnet-skills
Installation
SKILL.md

dotnet-gha-build-test

.NET build and test workflow patterns for GitHub Actions: actions/setup-dotnet@v4 configuration with multi-version installs and NuGet authentication, NuGet restore caching for fast CI, dotnet test with result publishing via dorny/test-reporter, code coverage upload to Codecov and Coveralls, multi-TFM matrix testing across net8.0 and net9.0, and test sharding strategies for large projects.

Version assumptions: actions/setup-dotnet@v4 for .NET 8/9/10 support. dorny/test-reporter@v1 for test result visualization. Codecov and Coveralls GitHub Apps for coverage reporting.

Scope

  • setup-dotnet action configuration with multi-version installs
  • NuGet restore caching for fast CI
  • dotnet test with result publishing and coverage upload
  • Multi-TFM matrix testing and test sharding
  • NuGet authentication for private feeds in GitHub Actions

Out of scope

Installs
3
GitHub Stars
222
First Seen
Feb 24, 2026
dotnet-gha-build-test — novotnyllc/dotnet-artisan