Skip to content

Commit 6726262

Browse files
authored
Fix CI to use OS matrix (#125)
The workflow already defined an OS matrix, but `runs-on` was hardcoded to `ubuntu-latest`. This makes the job correctly use `matrix.os` so tests run on different platforms instead of three times on the same one.
1 parent 71ae39e commit 6726262

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
matrix:
88
os: [ubuntu-latest, windows-latest, macos-latest]
99

10-
runs-on: ubuntu-latest
10+
runs-on: ${{ matrix.os }}
1111
steps:
1212
- uses: actions/checkout@v4
1313
with:
@@ -18,4 +18,3 @@ jobs:
1818

1919
- name: Test
2020
run: zig build test
21-

0 commit comments

Comments
 (0)