Skip to content

Commit 528c762

Browse files
committed
Test all supported .NET versions
1 parent 9667b22 commit 528c762

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/dotnet.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,20 @@ on:
66
branches: ["master"]
77
pull_request:
88
branches: ["master"]
9-
10-
env:
11-
dotnet-version: 9.0
129

1310
jobs:
1411
AFL:
1512
runs-on: ubuntu-latest
1613

14+
strategy:
15+
matrix:
16+
dotnet-version: [8.0, 9.0]
17+
1718
steps:
1819
- uses: actions/checkout@v4
1920
- uses: actions/setup-dotnet@v4
2021
with:
21-
dotnet-version: ${{ env.dotnet-version }}
22+
dotnet-version: ${{ matrix.dotnet-version }}
2223
- name: Install AFL
2324
run: ./scripts/install.sh
2425
- name: Disable core dumps
@@ -30,10 +31,14 @@ jobs:
3031
libFuzzer:
3132
runs-on: windows-latest
3233

34+
strategy:
35+
matrix:
36+
dotnet-version: [8.0, 9.0]
37+
3338
steps:
3439
- uses: actions/checkout@v4
3540
- uses: actions/setup-dotnet@v4
3641
with:
37-
dotnet-version: ${{ env.dotnet-version }}
42+
dotnet-version: ${{ matrix.dotnet-version }}
3843
- name: Run libFuzzer tests
3944
run: ./scripts/test-libfuzzer.ps1

0 commit comments

Comments
 (0)