Skip to content

Commit 67c85cb

Browse files
committed
Downgrade dotnet-format and move .csproj
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
1 parent 9a83f96 commit 67c85cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/dotnet.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: xt0rted/dotnet-format-problem-matcher@v1
3232

3333
- name: Setup dotnet-format tool
34-
run: dotnet tool install -g dotnet-format
34+
run: dotnet tool install -g dotnet-format --version 5.0.\*
3535

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

0 commit comments

Comments
 (0)