From 16ac7a7e452491df52a192232881a53bfe970260 Mon Sep 17 00:00:00 2001 From: Chayim Date: Mon, 20 Nov 2023 13:50:20 +0200 Subject: [PATCH] dotnet 8 CI (#205) dotnet 8 preview --- .github/workflows/integration.yml | 27 +++++++++++++++++++++++---- .github/workflows/reusable.yml | 10 ++++++---- 2 files changed, 29 insertions(+), 8 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 49dc7019..ac6128a0 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -21,7 +21,6 @@ jobs: uses: ./.github/workflows/reusable.yml with: redis_stack_type: cluster - dotnet_version: 6.0.x clr_version: net6.0 dotenv_file: .github/cluster.env secrets: inherit @@ -36,7 +35,6 @@ jobs: redis-stack-type: ['edge', '6.2.6', '7.2.0-RC3'] with: redis_stack_type: ${{matrix.redis-stack-type}} - dotnet_version: 6.0.x clr_version: net6.0 dotenv_file: .github/standalone.env secrets: inherit @@ -46,7 +44,6 @@ jobs: uses: ./.github/workflows/reusable.yml with: redis_stack_type: cluster - dotnet_version: 7.0.x clr_version: net7.0 dotenv_file: .github/cluster.env secrets: inherit @@ -61,11 +58,33 @@ jobs: redis-stack-type: ['edge', '6.2.6', '7.2.0-RC3'] with: redis_stack_type: ${{matrix.redis-stack-type}} - dotnet_version: 7.0.x clr_version: net7.0 dotenv_file: .github/standalone.env secrets: inherit + dotnet_8_cluster: + name: .NET 8 on [redis-stack cluster] + uses: ./.github/workflows/reusable.yml + with: + redis_stack_type: cluster + clr_version: net8.0 + dotenv_file: .github/cluster.env + secrets: inherit + + dotnet_8: + name: .NET 8 on [redis-stack ${{matrix.redis-stack-type}}] + uses: ./.github/workflows/reusable.yml + strategy: + fail-fast: false + max-parallel: 5 + matrix: + redis-stack-type: ['edge', '6.2.6', '7.2.0-RC3'] + with: + redis_stack_type: ${{matrix.redis-stack-type}} + clr_version: net8.0 + dotenv_file: .github/standalone.env + secrets: inherit + build_and_test_windows: name: Windows Test ${{matrix.redis-stack-version}} runs-on: windows-latest diff --git a/.github/workflows/reusable.yml b/.github/workflows/reusable.yml index 0d1a63ac..8d0b19cf 100644 --- a/.github/workflows/reusable.yml +++ b/.github/workflows/reusable.yml @@ -7,10 +7,6 @@ on: required: true type: string - dotnet_version: - required: true - type: string - clr_version: required: true type: string @@ -42,6 +38,12 @@ jobs: with: dotnet-version: '7.0.x' + - name: .NET Core 8 preview + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 8 + dotnet-quality: 'preview' + - name: run redis-stack-server docker working-directory: .github run: docker-compose up -d redis-stack-${{inputs.redis_stack_type}}