From 06a575b522c663088790531f9912252c8c9c3938 Mon Sep 17 00:00:00 2001 From: Meir Blachman Date: Wed, 10 Jan 2024 12:11:09 +0200 Subject: [PATCH] tests: use dotnet 8 for testing --- .github/workflows/benchmark.yml | 2 +- .github/workflows/ci.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- .../FluentAssertions.Analyzers.BenchmarkTests.csproj | 2 +- .../FluentAssertions.Analyzers.TestUtils.csproj | 2 +- .../FluentAssertions.Analyzers.Tests.csproj | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 0d3fb9e0..515417e0 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -15,7 +15,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: '6.x' + dotnet-version: '8.x' - name: Run benchmark run: cd src/FluentAssertions.Analyzers.BenchmarkTests && dotnet run -c Release --exporters json --filter '*' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c76c9385..279e6c01 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,10 +19,10 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Setup .NET 6 + - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - run: dotnet build - run: dotnet test --configuration Release --filter 'TestCategory=Completed' /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura - run: dotnet pack src/FluentAssertions.Analyzers/FluentAssertions.Analyzers.csproj diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ce5f0afd..22491590 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,10 +12,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Setup .NET Core + - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: '6.x' + dotnet-version: '8.x' - name: Restore dependencies run: dotnet restore diff --git a/src/FluentAssertions.Analyzers.BenchmarkTests/FluentAssertions.Analyzers.BenchmarkTests.csproj b/src/FluentAssertions.Analyzers.BenchmarkTests/FluentAssertions.Analyzers.BenchmarkTests.csproj index 1158e817..8deccf75 100644 --- a/src/FluentAssertions.Analyzers.BenchmarkTests/FluentAssertions.Analyzers.BenchmarkTests.csproj +++ b/src/FluentAssertions.Analyzers.BenchmarkTests/FluentAssertions.Analyzers.BenchmarkTests.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 Exe false diff --git a/src/FluentAssertions.Analyzers.TestUtils/FluentAssertions.Analyzers.TestUtils.csproj b/src/FluentAssertions.Analyzers.TestUtils/FluentAssertions.Analyzers.TestUtils.csproj index 9fa72ac9..219b6738 100644 --- a/src/FluentAssertions.Analyzers.TestUtils/FluentAssertions.Analyzers.TestUtils.csproj +++ b/src/FluentAssertions.Analyzers.TestUtils/FluentAssertions.Analyzers.TestUtils.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 false diff --git a/src/FluentAssertions.Analyzers.Tests/FluentAssertions.Analyzers.Tests.csproj b/src/FluentAssertions.Analyzers.Tests/FluentAssertions.Analyzers.Tests.csproj index 7d746288..3ea549ed 100644 --- a/src/FluentAssertions.Analyzers.Tests/FluentAssertions.Analyzers.Tests.csproj +++ b/src/FluentAssertions.Analyzers.Tests/FluentAssertions.Analyzers.Tests.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 false