diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1e8394401..622b70934 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -87,7 +87,7 @@ jobs: run: dotnet tool restore - name: Check format - run: dotnet build -t:CheckFormat + run: dotnet fantomas --check src env: DOTNET_ROLL_FORWARD: LatestMajor DOTNET_ROLL_FORWARD_TO_PRERELEASE: 1 diff --git a/Directory.Solution.targets b/Directory.Solution.targets index 88f38a382..ece14a3d3 100644 --- a/Directory.Solution.targets +++ b/Directory.Solution.targets @@ -1,14 +1,10 @@ - - - - - + - +