Skip to content

Commit

Permalink
Validate Roslyn CodeStyle.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeRobich committed Jun 7, 2020
1 parent 128de98 commit e42fb0f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion azure-pipelines.yml
Expand Up @@ -111,7 +111,9 @@ jobs:
vmImage: 'vs2017-win2016'
timeoutInMinutes: 5
steps:
- script: dotnet run --project ./src/dotnet-format.csproj -- @validate.rsp
- script: dotnet publish --project ./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
Expand Down
4 changes: 2 additions & 2 deletions validate.rsp
@@ -1,5 +1,5 @@
--folder
.
./format.sln
--fix-style
--exclude
./tests/projects/
--check
Expand Down

0 comments on commit e42fb0f

Please sign in to comment.