arbeidstilsynet/Build .NET

Restores, checks formatting, lints, builds, and tests a .NET solution/project. Can optionally run SonarQube Cloud analysis.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 1, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: arbeidstilsynet/action-dotnet-build@0a55503485ec99ea192916a1804ddb7d91242bfe # v4

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
working-directoryThe directory to run dotnet commands inyes
dotnet-versionThe version of dotnet to use10.0.x
skip-csharpierSkip the CSharpier checkfalse
skip-style-analyzersSkip dotnet format style and analyzers checksfalse
enable-sonarEnable SonarQube analysisfalse
sonar-tokenSonarQube tokenno
sonar-organizationSonarQube organizationno
sonar-project-keySonarQube project keyno
sonar-exclusionsComma-separated list of file patterns to exclude from SonarQube analysis (e.g., '**/Migrations/**,**/Utils/**')no""

no outputs