From 6cef1634d3081e160d35b3b9d4b565e57a683f89 Mon Sep 17 00:00:00 2001 From: Christoph Wille Date: Sun, 17 Nov 2024 14:42:34 +0100 Subject: [PATCH] Apply --allow-roll-forward to install/run, see https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-9/sdk#net-tool-roll-forward --- .github/workflows/build-ilspy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'