Skip to content

Commit 16ac7a7

Browse files
authored
dotnet 8 CI (#205)
dotnet 8 preview
1 parent 954992e commit 16ac7a7

File tree

2 files changed

+29
-8
lines changed

2 files changed

+29
-8
lines changed

.github/workflows/integration.yml

+23-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
uses: ./.github/workflows/reusable.yml
2222
with:
2323
redis_stack_type: cluster
24-
dotnet_version: 6.0.x
2524
clr_version: net6.0
2625
dotenv_file: .github/cluster.env
2726
secrets: inherit
@@ -36,7 +35,6 @@ jobs:
3635
redis-stack-type: ['edge', '6.2.6', '7.2.0-RC3']
3736
with:
3837
redis_stack_type: ${{matrix.redis-stack-type}}
39-
dotnet_version: 6.0.x
4038
clr_version: net6.0
4139
dotenv_file: .github/standalone.env
4240
secrets: inherit
@@ -46,7 +44,6 @@ jobs:
4644
uses: ./.github/workflows/reusable.yml
4745
with:
4846
redis_stack_type: cluster
49-
dotnet_version: 7.0.x
5047
clr_version: net7.0
5148
dotenv_file: .github/cluster.env
5249
secrets: inherit
@@ -61,11 +58,33 @@ jobs:
6158
redis-stack-type: ['edge', '6.2.6', '7.2.0-RC3']
6259
with:
6360
redis_stack_type: ${{matrix.redis-stack-type}}
64-
dotnet_version: 7.0.x
6561
clr_version: net7.0
6662
dotenv_file: .github/standalone.env
6763
secrets: inherit
6864

65+
dotnet_8_cluster:
66+
name: .NET 8 on [redis-stack cluster]
67+
uses: ./.github/workflows/reusable.yml
68+
with:
69+
redis_stack_type: cluster
70+
clr_version: net8.0
71+
dotenv_file: .github/cluster.env
72+
secrets: inherit
73+
74+
dotnet_8:
75+
name: .NET 8 on [redis-stack ${{matrix.redis-stack-type}}]
76+
uses: ./.github/workflows/reusable.yml
77+
strategy:
78+
fail-fast: false
79+
max-parallel: 5
80+
matrix:
81+
redis-stack-type: ['edge', '6.2.6', '7.2.0-RC3']
82+
with:
83+
redis_stack_type: ${{matrix.redis-stack-type}}
84+
clr_version: net8.0
85+
dotenv_file: .github/standalone.env
86+
secrets: inherit
87+
6988
build_and_test_windows:
7089
name: Windows Test ${{matrix.redis-stack-version}}
7190
runs-on: windows-latest

.github/workflows/reusable.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ on:
77
required: true
88
type: string
99

10-
dotnet_version:
11-
required: true
12-
type: string
13-
1410
clr_version:
1511
required: true
1612
type: string
@@ -42,6 +38,12 @@ jobs:
4238
with:
4339
dotnet-version: '7.0.x'
4440

41+
- name: .NET Core 8 preview
42+
uses: actions/setup-dotnet@v3
43+
with:
44+
dotnet-version: 8
45+
dotnet-quality: 'preview'
46+
4547
- name: run redis-stack-server docker
4648
working-directory: .github
4749
run: docker-compose up -d redis-stack-${{inputs.redis_stack_type}}

0 commit comments

Comments
 (0)