diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cbdbb5b3a..f64c51b2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,10 +18,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Setup .NET SDK v8.0.x + - name: Setup .NET SDK uses: actions/setup-dotnet@v4 - with: - dotnet-version: 8.0.x # For the time being (https://github.com/dotnet/format/issues/1500, https://github.com/dotnet/format/issues/1560) we need to use `dotnet-format` instead of `dotnet format` - name: Restore tool run: dotnet tool restore @@ -49,10 +47,8 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: 7.0.x - - name: Setup .NET SDK v8.0.x + - name: Setup .NET SDK uses: actions/setup-dotnet@v4 - with: - dotnet-version: 8.0.x - name: Build run: dotnet build Consul.AspNetCore.Test --configuration=Release --framework=${{ matrix.framework }} - name: Run tests @@ -80,10 +76,8 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: 7.0.x - - name: Setup .NET SDK v8.0.x + - name: Setup .NET SDK uses: actions/setup-dotnet@v4 - with: - dotnet-version: 8.0.x - name: Setup Consul Enterprise URL # Consul enterprise until version 1.10.0 can be run even without a valid license, # so we take advantage of that and run enterprise tests for versions lower than 1.10.0. @@ -143,10 +137,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Setup .NET SDK v8.0.x + - name: Setup .NET SDK uses: actions/setup-dotnet@v4 - with: - dotnet-version: 8.0.x - name: Create NuGet packages run: | if (-not ("${{ github.ref }}" -like "refs/tags/v*")) { diff --git a/.github/workflows/formatter.yml b/.github/workflows/formatter.yml index 2e3fbd496..dd08aad56 100644 --- a/.github/workflows/formatter.yml +++ b/.github/workflows/formatter.yml @@ -32,8 +32,6 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 - with: - dotnet-version: 7.0.x - name: Restore tools run: dotnet tool restore