Skip to content

Commit

Permalink
Get github annotations the third
Browse files Browse the repository at this point in the history
Use an older version of dotnet-format because the newer version shows
absolute paths which breaks the 'dotnet-format-problem-matcher'. [1]

Also move the dummy .csproj file to the root of the repo so that
annotations will be created. [2]

[1] xt0rted/dotnet-format-problem-matcher#206
[2] xt0rted/dotnet-format-problem-matcher#91
  • Loading branch information
Histalek committed Jun 24, 2021
1 parent 9c3207b commit 4aec168
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
uses: xt0rted/dotnet-format-problem-matcher@v1

- name: Setup dotnet-format tool
run: dotnet tool install -g dotnet-format
run: dotnet tool install -g dotnet-format --version 5.0.\*

- name: Run dotnet format
run: dotnet format code/tttreborn-ci.csproj --check
run: dotnet format --check
File renamed without changes.

0 comments on commit 4aec168

Please sign in to comment.