diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2ee8396e1a..15b01af228 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -111,7 +111,9 @@ jobs: vmImage: 'vs2017-win2016' timeoutInMinutes: 5 steps: - - script: dotnet run --project ./src/dotnet-format.csproj -- @validate.rsp + - script: dotnet publish ./src/dotnet-format.csproj -c Release + displayName: Publish dotnet-format + - script: dotnet ./artifacts/bin/dotnet-format/Release/netcoreapp2.1/publish/dotnet-format.dll @validate.rsp displayName: Run dotnet-format - task: PublishBuildArtifacts@1 displayName: Publish Logs diff --git a/validate.rsp b/validate.rsp index 0288aac783..a73c2fd40b 100644 --- a/validate.rsp +++ b/validate.rsp @@ -1,5 +1,5 @@ ---folder -. +./format.sln +--fix-style --exclude ./tests/projects/ --check