diff --git a/.github/workflows/build-ilspy.yml b/.github/workflows/build-ilspy.yml index 10e5d8e9de..03fa13e4cb 100644 --- a/.github/workflows/build-ilspy.yml +++ b/.github/workflows/build-ilspy.yml @@ -35,7 +35,7 @@ jobs: uses: microsoft/setup-msbuild@v2 - name: Install dotnet-format - run: dotnet tool install -g dotnet-format --version "8.0.453106" --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json + run: dotnet tool install -g dotnet-format --allow-roll-forward --version "8.0.453106" --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json - name: Get Version id: version @@ -71,7 +71,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 --allow-roll-forward --verify-no-changes --verbosity detailed ILSpy.sln - name: Verify package contents if: matrix.configuration == 'debug'