Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install specific version of dotnet-format from AzDO feed #2747

Merged
merged 1 commit into from
Jul 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/build-ilspy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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'
Expand Down