Kentico / xperience-by-kentico-lucene

Xperience by Kentico search integration with the latest 4.8 beta version of Lucene.NET
MIT License
4 stars 5 forks source link

Add dotnet format check #54

Closed michalJakubis closed 6 months ago

michalJakubis commented 6 months ago

Motivation

Although we already require execution of dotnet format as one of the steps to successful contribution we do not verify that contributors have actually executed the formatting command before submitting to the repository. As a result, effective automation was prevented, as those using the dotnet format would see changes to files that were not touched by themselves during implementation.

Therefore, this PR adds dotnet format check directly to the pipeline and formats any files that have not been formatted so far.

Checklist

How to test

If manual testing is required, what are the steps?