diff options
author | Tlakaelel Axayakatl Ceja <tlakaelel.ceja@microsoft.com> | 2022-09-08 21:52:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-08 21:52:33 +0300 |
commit | a9060d14067758ca17f8da072f4d2aa238b90045 (patch) | |
tree | 0d9e4e85d6fff442d544aa934c2b19e3a8239ee5 /eng | |
parent | fdcff4c6e14b48f40011d5c8538053f84ab1d0e0 (diff) |
Fix lint command (#3027)
Use new version of MicrosoftCodeAnalysisVersion in linker (Copy from runtime) to fix the dotnet format command
Run the dotnet format command
Reenable Lint check in ci pipelines
Diffstat (limited to 'eng')
-rw-r--r-- | eng/Versions.props | 2 | ||||
-rw-r--r-- | eng/azure-pipelines.yml | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/eng/Versions.props b/eng/Versions.props index a0e4eed52..3c9f971c1 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -21,7 +21,7 @@ <MicrosoftDotNetApiCompatVersion>7.0.0-beta.22426.8</MicrosoftDotNetApiCompatVersion> <MicrosoftDotNetCodeAnalysisVersion>6.0.0-beta.21271.1</MicrosoftDotNetCodeAnalysisVersion> <MicrosoftCodeAnalysisCSharpCodeStyleVersion>3.10.0-2.final</MicrosoftCodeAnalysisCSharpCodeStyleVersion> - <MicrosoftCodeAnalysisVersion>4.4.0-2.22379.3</MicrosoftCodeAnalysisVersion> + <MicrosoftCodeAnalysisVersion>4.4.0-1.final</MicrosoftCodeAnalysisVersion> <MicrosoftNetCompilersToolsetVersion>$(MicrosoftCodeAnalysisVersion)</MicrosoftNetCompilersToolsetVersion> <MicrosoftCodeAnalysisCSharpAnalyzerTestingXunitVersion>1.0.1-beta1.*</MicrosoftCodeAnalysisCSharpAnalyzerTestingXunitVersion> <MicrosoftCodeAnalysisBannedApiAnalyzersVersion>3.3.2</MicrosoftCodeAnalysisBannedApiAnalyzersVersion> diff --git a/eng/azure-pipelines.yml b/eng/azure-pipelines.yml index 35c0deff9..6c555ca49 100644 --- a/eng/azure-pipelines.yml +++ b/eng/azure-pipelines.yml @@ -145,9 +145,7 @@ stages: steps: - checkout: self submodules: true - # Disabled to prevent dotnet-format bugs (see https://github.com/dotnet/linker/pull/2884). - # This should be turned back on when we are on a preview7 SDK. - # - script: ./lint.sh --verify-no-changes --verbosity diagnostic + - script: ./lint.sh --verify-no-changes --verbosity diagnostic # Post-Build Arcade logic - ${{ if eq(variables.officialBuild, 'true') }}: |