File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1313 <ItemGroup >
1414 <GlobalPackageReference Include =" CSharpIsNullAnalyzer" Version =" 0.1.593" />
1515 <GlobalPackageReference Include =" DotNetAnalyzers.DocumentationAnalyzers" Version =" 1.0.0-beta.59" />
16- <GlobalPackageReference Include =" Nerdbank.GitVersioning" Version =" 3.6.146" />
16+ <!-- The condition works around https://github.com/dotnet/sdk/issues/44951 -->
17+ <GlobalPackageReference Include =" Nerdbank.GitVersioning" Version =" 3.6.146" Condition =" !('$(TF_BUILD)'=='true' and '$(dotnetformat)'=='true')" />
1718 <GlobalPackageReference Include =" Nullable" Version =" 1.3.1" />
1819 <GlobalPackageReference Include =" StyleCop.Analyzers.Unstable" Version =" 1.2.0.556" />
1920 </ItemGroup >
Original file line number Diff line number Diff line change 3737 - template : dotnet.yml
3838 parameters :
3939 RunTests : ${{ parameters.RunTests }}
40- - script : dotnet format --verify-no-changes --no-restore
40+ - script : dotnet format --verify-no-changes
4141 displayName : 💅 Verify formatted code
42+ env :
43+ dotnetformat : true # part of a workaround for https://github.com/dotnet/sdk/issues/44951
4244 - template : expand-template.yml
4345
4446- job : macOS
You can’t perform that action at this time.
0 commit comments