Browse Source
Install specific version of dotnet-format from AzDO feed (#2747)
pull/2749/head
Christoph Wille
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
3 deletions
-
.github/workflows/build-ilspy.yml
|
|
@ -20,8 +20,7 @@ jobs: |
|
|
|
steps: |
|
|
|
- run: mkdir -p $env:StagingDirectory |
|
|
|
|
|
|
|
- name: Force git to use crlf, otherwise dotnet-format --check fails |
|
|
|
run: git config --global core.autocrlf true |
|
|
|
|
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
submodules: true |
|
|
@ -30,6 +29,9 @@ jobs: |
|
|
|
- name: Add msbuild to PATH |
|
|
|
uses: microsoft/setup-msbuild@v1.1 |
|
|
|
|
|
|
|
- name: Install dotnet-format |
|
|
|
run: dotnet tool install -g dotnet-format --version "6.2.315104" --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json |
|
|
|
|
|
|
|
- name: Get Version |
|
|
|
id: version |
|
|
|
shell: pwsh |
|
|
@ -64,7 +66,7 @@ jobs: |
|
|
|
paths: "test-results/${{ matrix.configuration }}.xml" |
|
|
|
|
|
|
|
- name: Format check |
|
|
|
run: dotnet format whitespace --verify-no-changes --verbosity detailed ILSpy.sln |
|
|
|
run: dotnet-format whitespace --verify-no-changes --verbosity detailed ILSpy.sln |
|
|
|
|
|
|
|
- name: Verify package contents |
|
|
|
if: matrix.configuration == 'debug' |
|
|
|