Skip to content

Commit f260d7f

Browse files
committed
Refactor CI workflow to use a matrix strategy for builds and update Ubuntu version
1 parent 43d6ecc commit f260d7f

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@ concurrency:
1818
jobs:
1919
# Keep the Windows build separate so we still validate the .NET Framework target
2020
# and the packaging prerequisites that only exist on Windows runners.
21-
build-windows:
22-
name: Build (Windows)
23-
runs-on: windows-latest
21+
build:
22+
name: Build (${{ matrix.os }})
23+
runs-on: ${{ matrix.os }}
24+
strategy:
25+
fail-fast: false
26+
matrix:
27+
os: [ubuntu-latest, windows-latest]
2428

2529
steps:
2630
- name: Checkout
@@ -68,7 +72,7 @@ jobs:
6872
# The matrix is therefore per target framework instead of per OS.
6973
test-modern-tfm-linux:
7074
name: Test (Linux, ${{ matrix.tfm }})
71-
runs-on: ubuntu-24.04
75+
runs-on: ubuntu-latest
7276
strategy:
7377
fail-fast: false
7478
matrix:

0 commit comments

Comments
 (0)