diff --git a/.github/workflows/dotnet-code-style.yml b/.github/workflows/dotnet-code-style.yml new file mode 100644 index 0000000..c6e814b --- /dev/null +++ b/.github/workflows/dotnet-code-style.yml @@ -0,0 +1,22 @@ +name: .NET + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + code-style-validation: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v2 + with: + dotnet-version: 6.0.x + - name: validate code-style + run: dotnet format --verify-no-changes +