arbeidstilsynet/Build .NET
Restores, checks formatting, lints, builds, and tests a .NET solution/project. Can optionally run SonarQube Cloud analysis.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 1, 2026
- License
- MIT
Pinned Snippet
uses: arbeidstilsynet/action-dotnet-build@0a55503485ec99ea192916a1804ddb7d91242bfe # v4tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| working-directory | The directory to run dotnet commands in | yes | — |
| dotnet-version | The version of dotnet to use | — | 10.0.x |
| skip-csharpier | Skip the CSharpier check | — | false |
| skip-style-analyzers | Skip dotnet format style and analyzers checks | — | false |
| enable-sonar | Enable SonarQube analysis | — | false |
| sonar-token | SonarQube token | no | — |
| sonar-organization | SonarQube organization | no | — |
| sonar-project-key | SonarQube project key | no | — |
| sonar-exclusions | Comma-separated list of file patterns to exclude from SonarQube analysis (e.g., '**/Migrations/**,**/Utils/**') | no | "" |
Outputs
no outputs