lint-action icon indicating copy to clipboard operation
lint-action copied to clipboard

Linter shows failure, and files which failed linting, but is not making comments on the code in the files via of the PR

Open Christian-Oleson opened this issue 1 year ago • 12 comments

Using an ASP.NET Framework (.NET Framework v4.7.2) solution with many projects (51) in the solution, linting fails to show on the files which have changes violating the editorconfig rules. The linter fails, and by clicking the red x in the PR to see the check failure, the annotations show, but on the files tab of the PR, the annotations are missing. An example of this page is: https://github.com/wearerequired/lint-action/pull/606/files

Tool: dotnet format Action: Runs on windows-latest Pre-requisites: Runs the following:

  • Setup MSBuild
  • Restore Packages
  • Builds Solution

Runs the linter with the commands:

- name: Run linters
  uses: wearerequired/lint-action@v2
  with:
      dotnet_format: true
      dotnet_format_args: "./MySolutionName.sln"

Christian-Oleson avatar Mar 01 '23 18:03 Christian-Oleson