dotnet-gha-build-test

Configure .NET build and test workflows in GitHub Actions.

71|10|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/wshaddix/dotnet-skills --skill dotnet-gha-build-test-wshaddix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-gha-build-test
Source: https://github.com/wshaddix/dotnet-skills/tree/main/skills/dotnet-gha-build-test
Command: npx skills add https://github.com/wshaddix/dotnet-skills --skill dotnet-gha-build-test-wshaddix

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the configuration of .NET build and test pipelines within GitHub Actions, ensuring efficient and reliable CI processes.

Core Features & Use Cases

  • GitHub Actions Setup: Configures actions/setup-dotnet for various .NET versions and private NuGet feeds.
  • CI Caching: Implements effective caching strategies for NuGet packages to speed up builds.
  • Test Reporting: Integrates with tools like dorny/test-reporter to visualize test results and code coverage uploads to services like Codecov and Coveralls.
  • Matrix Testing: Facilitates multi-Target Framework Moniker (TFM) testing and test sharding for large projects.

Quick Start

Configure your GitHub Actions workflow to set up the .NET SDK and restore dependencies using the dotnet-gha-build-test skill.

Frequently Asked Questions about dotnet-gha-build-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure GitHub Actions for a .NET build and test pipeline?

Configure GitHub Actions for .NET by using setup-dotnet, implementing NuGet caching, and running tests. This automates the workflow configuration to streamline CI builds and test execution.

How do I publish test results in GitHub Actions for .NET?

Publish test results in GitHub Actions by integrating dorny/test-reporter to visualize outcomes. This allows you to automatically surface test failures and pass rates directly within your pull requests and workflow runs.

What is the best way to cache NuGet packages in GitHub Actions?

Caching NuGet packages in GitHub Actions speeds up builds by reusing restored dependencies. Implementing effective caching strategies for .NET projects optimizes CI pipeline performance and reduces execution time.

Can I run multi-target framework matrix testing for .NET in GitHub Actions?

Multi-TFM matrix testing in GitHub Actions facilitates testing across multiple target frameworks. This approach ensures your .NET project maintains compatibility and reliability across different runtime environments.

How do I upload code coverage reports to Codecov or Coveralls from GitHub Actions?

Upload code coverage to Codecov or Coveralls by configuring your GitHub Actions workflow to generate coverage reports and send them to these services. This integration tracks test coverage metrics for .NET projects.

Does this support private NuGet feeds in GitHub Actions for .NET?

Private NuGet feeds are supported by configuring actions/setup-dotnet with authentication credentials. This setup ensures your .NET CI pipeline can securely restore internal dependencies during the build process.