From 4aec16834e91d0500d87c423618b65759b3a733c Mon Sep 17 00:00:00 2001 From: Histalek <16392835+Histalek@users.noreply.github.com> Date: Thu, 24 Jun 2021 20:26:22 +0200 Subject: [PATCH] Get github annotations the third 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] https://github.com/xt0rted/dotnet-format-problem-matcher/issues/206 [2] https://github.com/xt0rted/dotnet-format-problem-matcher/issues/91 --- .github/workflows/dotnet.yml | 4 ++-- code/tttreborn-ci.csproj => tttreborn-ci.csproj | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename code/tttreborn-ci.csproj => tttreborn-ci.csproj (100%) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 2a73246e3..a81dc3ce1 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -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 diff --git a/code/tttreborn-ci.csproj b/tttreborn-ci.csproj similarity index 100% rename from code/tttreborn-ci.csproj rename to tttreborn-ci.csproj