From 1636ecefd637de3b8c148ca2d7abb2adb07e6cee Mon Sep 17 00:00:00 2001 From: Bela VanderVoort Date: Wed, 4 Oct 2023 20:24:00 -0500 Subject: [PATCH] this may read global.json --- .github/workflows/validate_pull_request.yml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/validate_pull_request.yml b/.github/workflows/validate_pull_request.yml index e3d148517..b69013ff1 100644 --- a/.github/workflows/validate_pull_request.yml +++ b/.github/workflows/validate_pull_request.yml @@ -8,11 +8,7 @@ jobs: name: Run Tests steps: - uses: actions/checkout@v2 - - uses: actions/setup-dotnet@v1 - with: - dotnet-version: | - 7.0.400 - 6.0.300 + - uses: actions/setup-dotnet@v3 - run: > dotnet test CSharpier.sln --configuration Release @@ -25,11 +21,7 @@ jobs: name: Check Formatting steps: - uses: actions/checkout@v2 - - uses: actions/setup-dotnet@v1 - with: - dotnet-version: | - 7.0.400 - 6.0.300 + - uses: actions/setup-dotnet@v3 - run: | dotnet tool restore dotnet csharpier . --check @@ -38,10 +30,6 @@ jobs: name: Build CSharpier.MSBuild steps: - uses: actions/checkout@v2 - - uses: actions/setup-dotnet@v1 - with: - dotnet-version: | - 7.0.400 - 6.0.300 + - uses: actions/setup-dotnet@v3 - run: | dotnet build Src/CSharpier.MsBuild/CSharpier.MsBuild.csproj