Skip to content

Commit e1e35f1

Browse files
committed
Merge remote-tracking branch 'origin/main' into microbuild
2 parents 845a785 + 46e768b commit e1e35f1

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Directory.Packages.props

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
<GlobalPackageReference Include="CSharpIsNullAnalyzer" Version="0.1.593" />
2424
<GlobalPackageReference Include="DotNetAnalyzers.DocumentationAnalyzers" Version="1.0.0-beta.59" />
2525
<GlobalPackageReference Include="Microsoft.VisualStudio.Internal.MicroBuild.VisualStudio" Version="$(MicroBuildVersion)" />
26-
<!-- The condition works around https://github.com/dotnet/sdk/issues/44951 -->
27-
<GlobalPackageReference Include="Nerdbank.GitVersioning" Version="3.7.115" Condition="!('$(TF_BUILD)'=='true' and '$(dotnetformat)'=='true')" />
26+
<GlobalPackageReference Include="Nerdbank.GitVersioning" Version="3.7.115" />
2827
<GlobalPackageReference Include="PolySharp" Version="1.15.0" />
2928
<GlobalPackageReference Include="StyleCop.Analyzers.Unstable" Version="1.2.0.556" />
3029
</ItemGroup>

azure-pipelines/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ jobs:
198198
IsOptProf: ${{ parameters.IsOptProf }}
199199

200200
- ${{ if and(parameters.EnableDotNetFormatCheck, not(parameters.EnableLinuxBuild)) }}:
201-
- script: dotnet format --verify-no-changes
201+
- script: dotnet format --verify-no-changes --no-restore
202202
displayName: 💅 Verify formatted code
203203
env:
204204
dotnetformat: true # part of a workaround for https://github.com/dotnet/sdk/issues/44951
@@ -242,7 +242,7 @@ jobs:
242242
Is1ESPT: ${{ parameters.Is1ESPT }}
243243
RunTests: ${{ parameters.RunTests }}
244244
- ${{ if parameters.EnableDotNetFormatCheck }}:
245-
- script: dotnet format --verify-no-changes
245+
- script: dotnet format --verify-no-changes --no-restore
246246
displayName: 💅 Verify formatted code
247247
env:
248248
dotnetformat: true # part of a workaround for https://github.com/dotnet/sdk/issues/44951

0 commit comments

Comments
 (0)