feat: dotnet standards tests + formatting pass on samples [MTT-5183] by fernando-cortez · Pull Request #156 · Unity-Technologies/com.unity.multiplayer.samples.bitesize

Description

This PR adds the relevant Yamato job definition files, and dotnet project for creating code standards jobs per sample per commit when PRs target develop/main.

I had to include a code formatting pass to this PR such that the included tests would actually pass as well. So, there are a lot of files included, but it's all formatting changes, for at least the .cs files.

Files added are:

  • .editorconfig file
  • yml files inside .yamato/
  • dotnet-tools subfolder

This and every subsequent PR will now produce the following code standard status checks in GitHub:
image

Following the link of each code standard job in Yamato will reveal that each sample is scanned for whitespace + style/naming errors, all based on our repository's .editorconfig file's format preferences.

Issue Number(s)

MTT-5183

Contribution checklist

  • [ N/A ] Tests have been added for the project and/or any internal package
  • Release notes have been added to the project changelog file
  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • JIRA ticket ID is in the PR title or at least one commit message
  • Include the ticket ID number within the body message of the PR to create a hyperlink